Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

How to use a PROCEDURE in a Custom Page instead of a field?

(0) ShareShare
ReportReport
Posted on by 67

Hi, I want to use a method as a display field in the page field, how can I use the custom method as a field instead of a table field?

  • peopleeater Profile Picture
    67 on at
    RE: How to use a PROCEDURE in a Custom Page instead of a field?

    I have created that procedure in the table and am able to get it on form, Thanks.

  • Suggested answer
    Nitin Verma Profile Picture
    21,548 Moderator on at
    RE: How to use a PROCEDURE in a Custom Page instead of a field?

    Hi,

    Please create a procedure with return type like below

    Localprocedure():text

    begin

     exit('This is text type return value');

    end;

    now you can call this Localprocedure() method directly as a Field on any page.

    Like below:

    field(CustomField;Localprocedure())

    {

    applicationarea := all;

    }

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,200

#2
YUN ZHU Profile Picture

YUN ZHU 1,006 Super User 2025 Season 1

#3
Mansi Soni Profile Picture

Mansi Soni 836

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans