Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

How to add static text to my form

Posted on by 645

I need to add static text on my form (can't use the xrm notification option)  under specific terms I need to show and hide that text but I can't hold it in a field, first I thought to use an Image with my text on the form, is there a better way to do that? 

  • Suggested answer
    Abdul Wahab Profile Picture
    Abdul Wahab 12,070 Super User 2024 Season 1 on at
    RE: How to add static text to my form

    Hi Graham Phelps,

     sahara should need to mark this thread verified. If you have any further queries you should need to create a new thread.

  • Suggested answer
    Graham Phelps Profile Picture
    Graham Phelps 93 on at
    RE: How to add static text to my form

    I have just had the same question and after seeing that no-one had an answer and looking in more detail what can be added to a Dashboard, I found this solution.

    1. Create a jpeg image with the text that you wish to add to the CRM Dashboard

    2. Create a new Web Resource with jpeg Type and choose the image you created with the text on

    3. Pubish this and add this Web Resource to your dashboard.

  • Suggested answer
    Arun Vinoth Profile Picture
    Arun Vinoth 11,613 on at
    RE: How to add static text to my form

    Cross post from SO - stackoverflow.com/.../7920473

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to add static text to my form

    Hi Sahara,

    This is a work around. You can have the static text entered in a text field placed between two fields. The center fields needs to be read only (Static text can be set by using a business rule) and you need to hide the field label. This way, only the field value will be shown which will be static between 2 fields.

    Hope this helps you out.

    Thanks and Regards,

    Shaheen

  • Fubar Profile Picture
    Fubar 2,750 on at
    RE: How to add static text to my form

    Writing a custom PCF control may be one way to do it (e.g. like how Microsoft have sliders etc that can be applied to number fields). Some examples of what others have put together https://pcf.gallery/

  • a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: How to add static text to my form

    I believe it's possible but obviously it will occupy some space.

  • erhan.keskin Profile Picture
    erhan.keskin 2,247 on at
    RE: How to add static text to my form

    You can add a 3 columns tab, the first field would be located in the first column, the second column is the static text, and the third column is for the second field.

    However, if you want to go with development, then you can have a html web source, and add it to the middle section of a tab.

    Regards,

  • sahara Profile Picture
    sahara 645 on at
    RE: How to add static text to my form

    nice idea, is it possible to locate it inside a section between two fields.? Im not sure...

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: How to add static text to my form

    Hello,

    I'm afraid that you need developer here.

    1. You can create HtmlWebresource that will show your text and you can put it on the form.

    2. You can create a Power Apps Component Framework that will show that text, use some field as a placeholder for that control and show it on the form.

  • erhan.keskin Profile Picture
    erhan.keskin 2,247 on at
    RE: How to add static text to my form

    Hi,

    I know it would be a bit weird to say but you can insert a section and use the label of it for the static text you want to locate.

    Regards,

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans