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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Commerce forum / How to get text ID for...
Commerce forum

How to get text ID for labels in Dynamics 365 Modern POS so that it can be edited using Language Text configuration

(2) ShareShare
ReportReport
Posted on by 6,550 Moderator

I am trying to edit few text labels in Dynamics 365 modern POS. In AX 2012, we used to add the parameter -tr to the enterprise  POS shortcut to get the text IDs  of all the fields. However, on Modern POS I am not able to do it. Any tip on how I can get the text IDs for labels in Modern POS ?

  • Community Member Profile Picture
    on at

    Hi, 

    +1 on that Question! I want to know the same thing. 

  • Community Member Profile Picture
    on at

    Open the POS client (MPOS or CPOS). Go to Settings > Developer mode.  Turn on Developer Mode and then enable Show String IDs.

  • Community Member Profile Picture
    on at

    @Patrick there is no such option in MPOS with the latest version.

  • Community Member Profile Picture
    on at

    Yes, I faced the same issue in CPOS in D365O-1611/U6. But Shane Erstad and Ranjith Kumar Thallapeli were so kind to guide me here, so special thanks to them. I am happy to share my findings:

    General: the visibility of the Developer Mode options in the POS' Settings screen (technically: 'View') is dependent on the config.isDebugMode setting in the pos.js file. In order to have the Developer Mode options visible you need to set this parameter to true.

    1. For CPOS, these settings are respected and cached at run time, so the procedure to update the setting would be as follows:
      • Navigate to the webroot folder of the cloud POS IIS web application. In IIS, you can find this by selecting the RetailCloudPos web site under sites -> right click and choose explore
      • Copy the pos.js file to a local folder, for example c:\temp
      • Copy the file again and name it pos_orig.js, so you're always safe having a copy of the original file before making any changes
      • Open the pos.js file with Visual Studio or a text editor
      • Find the Config.isDebugMode option and set its value to true.
      • Save the file
      • Copy the file to the webroot folder and confirm to overwrite
      • Restart the RetailCloudpos web site
      • Clear your browser cache
      • Open the CPOS client, perform device activation and login
      • Now you'll see the Developer Mode options are back in town again :).
    2. For MPOS, the pos.js settings cannot be taken dynamically (at run time). They need to be included in a built. So first you update the setting in pos.js and then you include that file in a new built.

    Patrick

  • Community Member Profile Picture
    on at

    Thanks Patrick but it seems like there is no config.isDebugMode in the Pos.js file. I have search in the file and there is no such variable.  

  • Shafeeque P. Profile Picture
    6,550 Moderator on at

    Wish there was an easier option to turn it on so that a non technical person can turn it on.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Commerce

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans