Placeholders provide a method to customize the formatting and insert as an expression inside the textbox.
To add a placeholder, click inside the textbox, then right-click and select Create Placeholder as shown in the figure.
Modifying or removing a field in a standard report like Sales Order (10075) is a pain because all the textboxes show their expressions as <<Expr>>, as shown below. Trying to identify which textbox contains the field that you want to modify or remove could be tiring.
If we have used Placeholders inside the textbox then it will be much easier to identify them as Placeholders not only allows you to add expressions but also gives you the option to add Labels to it. The labels will appear on the report layout as shown below.
Microsoft does a good job in naming the textboxes so it is easy to identify them using the name, for example if I look at the same report in Document Outline you can see how they named
The advantage with placeholder labels is you can view that in design mode.
Placeholders also have the ability to format the text differently. You can add more than one Placeholder in a textbox. Similar to Textboxes, Placeholders also have many tabs as shown in the figure below, which will allow you to format and customize text accordingly.
You can add more than one placeholder in a single text box and format each placeholder differently.
One other advantage of Placeholder is, it has the option to Interpret HTML tags. You can add configure your expression to render using HTML formatting. This allows us to add HTML tags directly into the expression, such as line break, font, bolding, underline….
For example, we can use the following expression in the Value field, and select the HTML option for Markup type in the above figure.
<font face="Arial"><b>T </b></font> ' + “Phone No." + '<br>'
If you have any other tips or suggestions, please do share them in the comments below.
4 comments:
I was having trouble using placeholders in nav reports. Glad I found your blog in time before my project's time ran out. Thank you for sharing the guide with us.
It is truly a practical blog to find some different resource to include my knowledge. Target & Bidder Statements
This blog is really helpful to deliver updated affairs over internet which is really appraisable. How to make a website in wordpress
Great blog ! I am impressed with suggestions of author. Wordpress Updates
Post a Comment