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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

Passing variables to HTML Internal Window

(0) ShareShare
ReportReport
Posted on by

does anyone know when you use a custom POS button and style = internal html window, if RMS passes variables ? like the current logged on user ?

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    You should be able to access the current logged in user in SessionClass.Cashier.  Otherwise you could query it from TimeCard.

  • Community Member Profile Picture
    on at

    doesnt work,  in custom pos -> html window -> intranet.local/test.php.... prints out the string.. not the value...

    this makes no sense why would MSFT make this option if you can't pass anything ?

  • Suggested answer
    Antonijo Todorovik Profile Picture
    4,025 on at

    Well, you can get the values by using qsRules / qsBridge. then you can pass it to whereever you need it...

    Add this line to your HTML code:

    var qsRules = qsBridge.RequestQSRules();

    var sCashierName = qsRules.Session.Cashier.Name;

    Contact me if you have problems...

    Regards, A.

  • Community Member Profile Picture
    on at

    Found a better way..  Since php is remote i got with cashier. Number and javascript redirect to my site now i need a nice chat platform or ill build one

  • Suggested answer
    Community Member Profile Picture
    on at

    You can look at the status.htm file for a working example.  Also you can look at drilldown.htm.  

    Another thing.  If you want to get back to the transaction view, you will need to press the escape key on the keyboard.  

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics RMS (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans