Hi Readers,
Today I was stumped with an issue while doing development for a customer in CAL Development Environment.
While creating a new page global variable and then add a variable in the page but when I tried to run that page there were no captions in the fields that added as a global variable.
It took me a while to figure out the solution of the same so I thought it would be great to share about the issue and solution.
I am using Business Central Spring Release for North America.
What is the Problem / Issue?
For the Demo, I am creating a simple page with two fields as shown below.
Then I added a global variables ABC of type Text and added that in Page with caption - "My Test Field"
When I execute/run that page I don't see caption in the field added.
The reason behind Problem?
Cause of the issue - From Business Central Spring Release (14.x) I don't know why but default caption ML is ENC instead of ENU.
How to Resolve this problem?
Till Microsoft fix the issue for the on-prem C/AL version, make sure that correct Caption ML is set for all fields that you add as shown below.
Run the page to test the results.
To my surprise, ENC is the default caption ML added in Table field but somehow Platform understands that and shown caption on the page.
Hope you find the information useful.
Let me know your views as a comment on this article.
Stay tuned for more.
Regards,
Saurav Dhyani
www.sauravdhyani.com
Today I was stumped with an issue while doing development for a customer in CAL Development Environment.
While creating a new page global variable and then add a variable in the page but when I tried to run that page there were no captions in the fields that added as a global variable.
It took me a while to figure out the solution of the same so I thought it would be great to share about the issue and solution.
I am using Business Central Spring Release for North America.
What is the Problem / Issue?
For the Demo, I am creating a simple page with two fields as shown below.
Then I added a global variables ABC of type Text and added that in Page with caption - "My Test Field"
When I execute/run that page I don't see caption in the field added.
The reason behind Problem?
Cause of the issue - From Business Central Spring Release (14.x) I don't know why but default caption ML is ENC instead of ENU.
How to Resolve this problem?
Till Microsoft fix the issue for the on-prem C/AL version, make sure that correct Caption ML is set for all fields that you add as shown below.
Run the page to test the results.
To my surprise, ENC is the default caption ML added in Table field but somehow Platform understands that and shown caption on the page.
Hope you find the information useful.
Let me know your views as a comment on this article.
Stay tuned for more.
Regards,
Saurav Dhyani
www.sauravdhyani.com
Comments
Post a Comment