web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

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

Adding a free text or label to notify some things in a form

(0) ShareShare
ReportReport
Posted on by 295

I want to show a note to user in Purchase Order as below:

pastedimage1678175001272v1.png

I created new field "Notify", and add new group to Purchase Header

 addbefore(General)
        {
            group(Note)
            {
                Caption = 'Note';
                field(Notify; Rec.Notify)
                {

                    ApplicationArea = all;
                    ToolTip = 'Only for showing message';
                    CaptionClass = Format(tNotification);
                    Editable =false;
                }

            }
        }
trigger OnOpenPage()
    var
        lRec_UserSetup: Record "User Setup";
    begin
        // CurrPage.Editable(false);
        tNotification := 'You can';
        if lRec_UserSetup.get(UserId) then;
        if lRec_UserSetup."Allow Release PO" then begin
            bAllowReleasePO := true;
            tNotification := tNotification + ' Release';
        end else begin
            bAllowReleasePO := false;
            tNotification := tNotification + ' NOT Release';
        end;
        if lRec_UserSetup."Allow Reopen PO" then begin
            bAllowReOpenPO := true;
            tNotification := tNotification + '; can ReOpen';
        end else begin
            bAllowReOpenPO := false;
            tNotification := tNotification + '; can NOT ReOpen';
        end;

       
    end;

    var
        bAllowReleasePO: Boolean;
        bAllowReOpenPO: Boolean;
        tNotification: Text;
It showed OK but I do not know whether there is simple to add free text or label before "General" group or not. Could you share with me ?
I am not preferred to use Notification.
 
I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,376 on at
    RE: Adding a free text or label to notify some things in a form

    hi

    you can add a free text or label to notify certain things in a form. Here's how:

    Open the page or form where you want to add the free text or label.

    Click on the Customize button in the top right corner of the page.

    Select the field or area where you want to add the free text or label.

    In the Properties pane on the right side of the page, scroll down to the Labels section.

    Click on the New button to add a new label.

    Enter the text you want to display in the label.

    Choose the appropriate language for the label if your system is set up to support multiple languages.

    Click OK to save the label.

    You can then drag and drop the label onto the appropriate field or area on the page.

    Once you've added the label, it will display on the page whenever the page is opened. This can be useful for providing additional information or context for a field or section of the form.

    DAniele

  • Hoang Ng Profile Picture
    295 on at
    RE: Adding a free text or label to notify some things in a form

    Thanks Daniele,

    I could not see Customize button as your instruction

    pastedimage1678177022833v1.png

    I see only Personalize.

    My version is 2021 W1 On Premise.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,327

#2
Sumit Singh Profile Picture

Sumit Singh 2,734

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,599

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans