Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 17314

Using labels containing variables in EP

$
0
0
If you want to use labels containing variables in EP you cannot use %1. Instead you will need to create a label specific to EP which uses {0} and not %1. For example: “Today’s date is {0}.” !! Note here that the identifier is zero based You will then need to use the .Net equivalent of strfmt, String.Format, to fill in the variable 1 lblText. Text = String . Format ( Labels. GetLabel ( "@BLG001" ) , DateTime. Today ) ; The post Using labels...(read more)

Viewing all articles
Browse latest Browse all 17314

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>