Control's label/caption passed from calling vi

I would like a way to pass the control name and data to a subvi so the subvi control names are overwritten. I want the subvi to take each name from the calling program and make a text header using the calling names (not the subvi control names). The files I've attached aren't exactly what I want, but may give the general idea of what I want to accomplish. I would like to NOT pass anything other than the control into the subvi (as I have currently have it, if possible). If this question is not clear, please let me know.
-Thanks in advance.
Attachments:
header-append_tester.vi ‏69 KB
vi-caller-cluster.vi ‏27 KB

You cannot change the label of a control during runtime. This is why LabVIEW incorporates Captions.
I will take a look at your VIs later (when I turn on my workstation) and look at your implementation to see if I can offer any further advice. I used a method similar to this to pass data to indicators and sent a string to the caption to adjust the display to indicate the "label" of the value.

Similar Messages

  • How to get info from calling Function Module without passing it.

    Hi,
    I am facing a problem like from calling function module i want values of some variables and i dont want to change the import and export parameters, is there any way to get it done...
    Thanks in advance...

    Hi,
    It is possible only if you can find the memory id of the varibale.
    You can find out it by debugging
    <removed by moderator>
    Edited by: Mike Pokraka on Aug 4, 2008 9:37 AM

  • Control access of a form from another form.

    hi all,
    Please help me .
    This is a system which contains a lot of forms (more than 100) . The system administrator can specify whether a user can insert, update,delete or query for each form (this varies for each user). So, when a user logs in and calls a form i have to enable / disable the insert, update,delete or query according to the user who has logged in and the privileges the system administrator has given for that form.
    i used the call_form method with query_only mode and no_query_only(normal mode) option . The normal mode allows insert,update,delete and query together but i want the user to insert into database without querying any of the records.
    So, in short , i would like to know if i can enable/disable insert,update,delete & query of a called form(Form B) from calling form (Form A) without having to modify (Form B) and without issuing any grant statements in the database side ? Is there any option like the one in the call form method?
    Thanking you in advance.

    Thank you very much for the response.
    yes, set form property and set block property can be used when i want to enable / disable insert in the current form. But, what if i want to control enable/disable insert from another form (the main form) ????
    Can i pass parameters ? without making any change in the current form.

  • Controlling a label's text with Threads

    Hello,
    I couldn't find a specific topic about Java Threads and that's why i am writing here.
    I am developing a kind of strategy game and in one module i need to show the total amount of money the user has.
    - at first, when the game starts, the player chooses an amount.
    - the game starts and the player buys something
    - the amount should be updated, for a logical and routine transaction.
    But since the frame which is responsible from such transactions differ from the main frame, i could not do the update operations.
    e.g.
    public class GameMain extends JFrame{
    //The label is here
    }//end of gamemain
    class TransactionFrame extends JInternalFrame{
    //The internal frame has some buttons and radio buttons to allow the user to make transactions, purchasing of certain tools
    }//end of transactionframeThe best way that came into my mind was to update the label in my GameMain class whenever the player selects , say "Add" button in TransactionFrame.
    I had many tests before to do it with a certain paint method to handle those issues, but i couldn't find a solution.
    On the other hand, the TransactionFrame class' instances are created in some other class which I think wouldn't be relevant to say here, because it does nothing to do here.
    What i want to do is, as defined above,
    - i want to update the label in GameMain and
    - it should be updated whenever "Add" button is clicked in the TransactionFrame, which is a JInternalFrame.
    Here is what i have tried:
    1. i added a flag value in the TransactionFrame's "Add" button, and whenever it becomes "true", the Thread controlling the Label's text of GameMain, is triggered
    and the new amount will be presented to the user.
    -->But, although the player doesn't click anything on the internal frame, the thread in the main frame consideres it as clicked and tries to run something else.
    2. the other thing is, I put the amount at the internal frame as a string (drawn in paint method of this frame),
    --> This time, I updated the amount here but whenever I close the frame and create the frame by clicking on some button, the amount remains as chosen in the starting phase.
    (e.g. user selected 5000$, then bought something, the new amount: 4000$, ok, i close the frame and reopen it, the amount is: 5000$ !).
    I hope that I described the problem clearly here,
    What i expect is given above, if you'd like to advice me to try other things, please do not hesitate.
    Thank you,
    led1433

    You're probably long gone, so I'm not sure you'll see this, but my opinion is that your next step is to try to decrease the cohesion (I think that's what it's called) of your code so that the code that represents your main GUI has little knowledge of the code that represents the JInternalFrame and visa versa. I'm no pro at this, but one way to possibly do this is to give both public methods that get and set the amount and then let a Controller class call these methods. For instance:
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.*;
    public class Test3B {
      private static void createAndShowUI() {
        final Main3B main = new Main3B();
        main.getComponent().setPreferredSize(new Dimension(500, 400));
        final Internal3B internalGui = new Internal3B();
        internalGui.addSetAmountBtnListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            String amtString = internalGui.getAmountFieldText().trim();
            try {
              int amount = Integer.parseInt(amtString);
              main.setAmount(amount);
            } catch (NumberFormatException nfe) {
              JOptionPane.showMessageDialog(main.getComponent(), "Enter integers only",
                  "Error", JOptionPane.ERROR_MESSAGE);
        JInternalFrame internalFrame = new JInternalFrame();
        internalFrame.getContentPane().add(internalGui.getMainPanel());
        internalFrame.setBounds(10, 10, 400, 300);
        internalFrame.setClosable(true);
        main.addInternalFrame(internalFrame);
        JFrame frame = new JFrame("Test3B");
        frame.getContentPane().add(main.getComponent());
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.pack();
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);
      public static void main(String[] args) {
        java.awt.EventQueue.invokeLater(new Runnable() {
          public void run() {
            createAndShowUI();
    class Main3B {
      private static final String AMOUNT_LABEL = "Amount is: ";
      private int amount = 0;
      private JPanel mainPanel = new JPanel();
      private JLabel amountLabel = new JLabel(AMOUNT_LABEL + amount, SwingConstants.LEFT);
      private JDesktopPane desktop = new JDesktopPane();
      public Main3B() {
        desktop.setBorder(BorderFactory.createLineBorder(Color.blue));
        mainPanel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
        mainPanel.setLayout(new BorderLayout());
        mainPanel.add(amountLabel, BorderLayout.NORTH);
        mainPanel.add(desktop, BorderLayout.CENTER);
      public void addInternalFrame(JInternalFrame internalFrame) {
        desktop.add(internalFrame);
        internalFrame.setVisible(true);
      public void setAmount(int amount) {
        this.amount = amount;
        amountLabel.setText(AMOUNT_LABEL + amount);
      public int getAmount() {
        return amount;
      public JComponent getComponent() {
        return mainPanel;
    class Internal3B {
      private JPanel mainPanel = new JPanel();
      private JTextField amountField = new JTextField(10);
      private JButton setAmountBtn = new JButton("Set Amount");
      public Internal3B() {
        mainPanel.add(new JLabel("Enter New Amount:"));
        mainPanel.add(Box.createHorizontalStrut(5));
        mainPanel.add(amountField);
        mainPanel.add(Box.createHorizontalStrut(15));
        mainPanel.add(setAmountBtn);
      public JPanel getMainPanel() {
        return mainPanel;
      public String getAmountFieldText() {
        return amountField.getText();
      public void addSetAmountBtnListener(ActionListener al) {
        setAmountBtn.addActionListener(al);
    }

  • [svn:bz-trunk] 17029: Update all samples to remove target player version from calls to the mxmlc target .

    Revision: 17029
    Revision: 17029
    Author:   [email protected]
    Date:     2010-07-22 19:08:20 -0700 (Thu, 22 Jul 2010)
    Log Message:
    Update all samples to remove target player version from calls to the mxmlc target. Now we will just use the target player version from the flex-config.xml file. As this is used to locate playerglobal.swc, it's unlikely we would need this to be different than what is in flex-config.xml.
    Turn the ocx target for installing the player back on again and update it to use the new silent uninstall and install switches for the 10.1 player.
    checkintests: passed
    Modified Paths:
        blazeds/trunk/apps/samples/WEB-INF/flex-src/dashboard/build.xml
        blazeds/trunk/apps/samples/WEB-INF/flex-src/inventory/build.xml
        blazeds/trunk/apps/samples/WEB-INF/flex-src/runtimeconfig-messaging/build.xml
        blazeds/trunk/apps/samples/WEB-INF/flex-src/runtimeconfig-remoting/build.xml
        blazeds/trunk/apps/samples/WEB-INF/flex-src/testdrive-101/build.xml
        blazeds/trunk/apps/samples/WEB-INF/flex-src/testdrive-chat/build.xml
        blazeds/trunk/apps/samples/WEB-INF/flex-src/testdrive-datapush/build.xml
        blazeds/trunk/apps/samples/WEB-INF/flex-src/testdrive-httpservice/build.xml
        blazeds/trunk/apps/samples/WEB-INF/flex-src/testdrive-remoteobject/build.xml
        blazeds/trunk/apps/samples/WEB-INF/flex-src/testdrive-update/build.xml
        blazeds/trunk/apps/samples/WEB-INF/flex-src/testdrive-webservice/build.xml
        blazeds/trunk/apps/samples/WEB-INF/flex-src/traderdesktop/build.xml
        blazeds/trunk/apps/samples-spring/WEB-INF/flex-src/chat/build.xml
        blazeds/trunk/apps/samples-spring/WEB-INF/flex-src/collaboration/build.xml
        blazeds/trunk/apps/samples-spring/WEB-INF/flex-src/companymgr/build.xml
        blazeds/trunk/apps/samples-spring/WEB-INF/flex-src/feedstarter/build.xml
        blazeds/trunk/apps/samples-spring/WEB-INF/flex-src/insync01/build.xml
        blazeds/trunk/apps/samples-spring/WEB-INF/flex-src/insync02/build.xml
        blazeds/trunk/apps/samples-spring/WEB-INF/flex-src/insync03/build.xml
        blazeds/trunk/apps/samples-spring/WEB-INF/flex-src/insync04/build.xml
        blazeds/trunk/apps/samples-spring/WEB-INF/flex-src/insync05/build.xml
        blazeds/trunk/apps/samples-spring/WEB-INF/flex-src/insync06/build.xml
        blazeds/trunk/apps/samples-spring/WEB-INF/flex-src/simplepush/build.xml
        blazeds/trunk/apps/samples-spring/WEB-INF/flex-src/spring-blazeds-101/build.xml
        blazeds/trunk/apps/samples-spring/WEB-INF/flex-src/spring-blazeds-security-101/build.xml
        blazeds/trunk/apps/samples-spring/WEB-INF/flex-src/traderdesktop/build.xml
        blazeds/trunk/build.properties
        blazeds/trunk/build.xml
        blazeds/trunk/sampledb/flexdemodb/flexdemodb.properties
        blazeds/trunk/servers/apache-tomcat-6.0.14/conf/tomcat-users.xml

    Hi Chris,
    I tried removing and adding back the dialpeer 101 and adding .T to 501 but still the same result. Please help.
    Please see the following:
    SEC-HO-VGATEWAY01#show dial-peer voice summ        
    dial-peer hunt 1
                 AD                                    PRE PASS                OUT
    TAG    TYPE  MIN  OPER PREFIX    DEST-PATTERN      FER THRU SESS-TARGET    STAT PORT    KEEPALIVE
    501    voip  up   up                                0  syst                    
    1001   voip  up   up             5...               1  syst ipv4:10.13.14.21   
    1002   voip  up   up             1...$              1  syst ipv4:10.13.14.21   
    103    voip  up   up             911$               1  syst dns:toronto2.voip.ms
    102    voip  up   up             1[2-9]..[2-9]...-  1  syst dns:toronto2.voip.ms
                                     ...$
    101    voip  up   up             [2-9]..[2-9]....-  1  syst dns:toronto2.voip.ms
                                     ..$
    SEC-HO-VGATEWAY01#show run | sec dial-peer voice 501
    dial-peer voice 501 voip
    incoming called-number .T
    voice-class sip bind control source-interface Loopback0
    voice-class sip bind media source-interface Loopback0
    dtmf-relay rtp-nte
    codec g711ulaw
    no vad

  • How to retrieve a message into an html page passed from a servelt?

    am new to servlet.
    i have a Login.html contains a form having username and a password field.when the form is submitted it goes to VerifyServlet for authentication.
    now if the user provide the correct username and password i authenticate him into a new servlet called UserhomeServlet which i have already done. but if the password is incorrect i wanted to take him back to the Login.html with a Error message printed on it passed from the VerifyServlet. i dont know how to do that.
    pls tell me if you have any idea.

    Hi ,
    Try the following in your VerifyServlet doPost / doGet method.
    //for simplicity i have defined name & pwd in the same file and compared values from the login.html //
    //you can implement your logic //
                     if (name.equals(login)&& pwd.equals(pass)){
              //redirect to UserhomeServlet
                          else {
                   out.println("Invalid Login");
                   RequestDispatcher rd = req.getRequestDispatcher("/html/login.html");
                   rd.include(req,res);
         }bye for now
    sat

  • How to use parameter passed from standard page in VO query of custom page

    Hi everyone,
    I have a custom page which needs to be called from a standard page. Now this custom page is based on some parameters passed from standard page.
    How do I catch those parameters i my custom page .
    And how to use those parameters in the VO query of my custom page.
    Edited by: Bunny on Nov 11, 2010 9:16 AM

    Hi,
    Bunny wrote:
    I have a custom page which needs to be called from a standard page. Now this custom page is based on some parameters passed from standard page.
    How do I catch those parameters i my custom page .---If standard page the button style is :Button,Then u can set Destination URL in personalization.
    Destination UR:"OA.jsp?page=/xxx/oracle/apps/po/msg/webui/CustomUpdatePG&Flag=" +Value  ---Like u can pass params
    ---IF the button style is :Submitbutton ,Then u need to customization of the co.
    ---In co processFormReq call a cutom page like below.
    pageContext.setForwardURL("OA.jsp?page=/xxx/oracle/apps/po/msg/webui/customUpdatePG&Flag=" +Value, null, (byte)0, null, null, true, "N", (byte)0);
    ---In custom page co in processRequest u can get these value :String value=pageContext.getParameter("Flag");
    And how to use those parameters in the VO query of my custom page.---Get the vo and set where clause
    String where="valueAttr="+value;
    vo.setWhereClauseParams(null);
    vo.setWhereClause(where);
    vo.executeQuery();
    Regards
    Meher Irk
    Edited by: Meher Irk on Nov 11, 2010 11:53 PM

  • When mousing over text, the cursor flickers constantly (with each letter passed) from arrow to i-beam and back.  The problem occurs in both MS Word and Pages.  Any idea of how to resolve this annoying problem is appreciated.  System: 10.10.1

    When mousing over text, the cursor flickers constantly (with every letter passed) from arrow to i-beam and back.  The problem occurs in both MS Word 2011 and Pages.  Any idea of how to solve this annoying problem will be much appreciated.  System 10.10.1 on a MacPro (Late 2013)

    The mouse is controlled by the OS so don't guess any app other than a mouse driver or OS X itself would be able to cause this sort of flicker issue.
    Have you seen the following and is it what you are seeing? Maybe you could make a movie (Quicktime is great for this this to make a screen recording) - but not sure how to attach a movie to these discussions as mine is grayed out and can't be selected (to the right of the insert image). Here is the what I found for a search of "mouse cursor flickers os x yosemite"
         https://www.youtube.com/watch?v=ZNQ0D84DdF4
    What kind of mouse are you using? Is the mouse driver up to date if it's a third party mouse?

  • Need help with Link passed from XML

    This is to create a flash driven navigation menu. What I have
    is a coldfusion page that serves a simple XML formatted page. There
    are 3 XML components, linkLabel, linkURL and linkType. The label
    just passes text, the type is just a number 0-9 that is used to
    determine the style of the button. The linkURL that is passed from
    coldfusion comes across encoded for XML, so what I end up with is
    url's that replace "&" with ";amp;".
    So my question is this, is there an easy way in the
    actionscript to replace the ";amp;" with "&"? Other than that
    little problem, the rest of the script runs just fine, I just can't
    seem to find the syntax I'm looking for to replace items in a
    string. I saw the code for replacesel() but this doesn't seem to do
    it, unless i'm writing it wrong.

    Just in case you want something similar in future:
    string = string.split("&amp;").join("&");
    is an easy way to replace something in a string (here
    '&amp;' gets replaced with '&').
    greets,
    blemmo

  • How get runing total but opening balance pass from form through parameter

    Sir I have tow table in accbal have opening balance and in voudetail have daily transaction I need ledger report with opening balance
    My report get opening balance from accbal and get befor given date balance from voudetail
    Such as
    For opening balance
    Selelect case when dr>cr then dr-cr
    When cr>dr then cr-dr
    End opbal from accbal
    For get balance form daily transaction
    Select case when sum(debit)-sum(credit)> sum(credit)-sum(debit) then
    sum(debit)-sum(credit)
    when sum(credit)-sum(debit)>sum(debit)-sum(credit) then
    sum(credit)-sum(debit)
    end trbalance from voudetail
    where date <givendate
    cal acute both balance in variable
    total =opbal+trbal
    and send this total in report as opening balance on top of report and add this amount asper condition in amount report amount is debit and totalbal is debit then
    placeholdercolumn=totalbal+reportdebit
    or credit then
    placeholdercolumn=totalbal-reportdebit
    sir I need this type of calculation in report
    or
    if you give me idea n query is best for me I calculate with over function and use report only for output
    please sir give me idea urgent
    thank
    aamir

    Meilan (guest) wrote:
    : I wrote a Report called by a Form and pass a parameter from the
    : Form to the Report, successfully! But I imported a Graphic in
    : the Report, and the Graphic could not get the parameter...(the
    : parameter in the Report and Graphic should both pass from the
    : Form).
    : I call the Report by " Run_Product( REPORTS, :V_PRTNAME,
    : SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id,NULL); " in the Form.
    : and I imported the image from file for the Graphic in the
    Report.
    : Thanks for your help!
    Meilan,
    This forum is for Headstart related questions and experiences
    only. Please go to metalink.oracle.com to get more information on
    your problem.
    Regards,
    Ton
    null

  • Viewset does not have data passed from GenIL

    Hi All,
    We have a custom component in which data is not getting passed from a ViewSet to the Overview page. The details of the issue are given below:
    There is a detail view zsoEF and a table view zsoChild. These 2 views are housed in a viewset zsoVS. This view set has an event Eh_OnBack which requires the data from views zsoEF and zsoChild to be passed to overview view zsoOV.
    We recently upgraded to CRM 7.0. After the upgrade, the values entered on the views zsoEF and zsoChild are processed in the ZGenIL. The context nodes and the custom controllers are filled correctly with the screen values and some auto added data based on validations..
    When we click on the Back button, then Eh_OnBack does not have data in the Custom Controller. I am not able to pin point the reason for this missing data in the Back event. From the way i understand, when we do data binding in the views, we don't have to do that in ViewSet. Has there been any change in this design in CRM 7.0?
    I would like to know if there is any workaround for this issue.
    Thanks,
    Rini

    Hi Rini,
        Did you try to bind the context nodes with the component controller. Can give it a try whether it resolves the problem. Any way it is difficult to say anything as we don't have an idea what exactly you did in the component. Lets take it forward. In the mean time have a look in the below link.
    History navigation and context initialization calls - CRM - SCN Wiki
    Thanks,
    Javed.

  • Can you change what phone number is passed over Caller ID?

    Here is my scenario.
    I do not want to have two separate phones.
    My android phone has a MN phone number that I need to keep.
    My new job requires that I have a CA phone number.
    I can hard forward the CA phone number to my MN phone....but....when I'm making outbound calls for work I need the CA number to be passed so my customers see the CA number.
    Conversely, I want the MN number to passed when I make outbound calls in MN.
    Is there an app/program that will allow me to toggle which number is passed via Caller ID when I make outbound calls?
    Is there a different solution?
    Thanks! 

    Here's Wikipedia on "Caller ID spoofing"
    http://en.wikipedia.org/wiki/CallerIDspoofing
    Perhaps a businessman, working from home (or on the road), wants the Caller ID to show his office number when he makes calls...

  • HT1443 how can we pass from os 10.5.8 to 10.6?

    I need to pass from mac os 10.5.8 to at least 10.6... How could it be done?

    Before buying anything you should first make sure your machine will accept the upgrade you have in mind.
    Minimum specs for Snow Leopard.        Mac OS X v10.6 Snow Leopard -Read the Technical Specifications
    Note.  You can now buy Snow Leopard from the Apple store on line again.
    In the USA.   Go to Mac OS X 10.6 Snow Leopard - Apple Store (U.S.)
    In Europe or otherwise … call your National Apple Helpline.  Find it at … http://support.apple.com/kb/HE57
    In the UK …   Mac OS X 10.6 Snow Leopard - Apple Store (UK)    Where the last known price was £14.
    Before you start upgrading, back up your files.
    Once you have upgraded to Snow Leopard you will need to apply the Combo updater.   Mac OS X 10.6.8 Update Combo v1.1  and follow with a software update to pick up any later improvements.

  • Oracle error ORA-39127 unexpected error from call to export_string

    Hi
    The export for an database encounters the following error .Can someone take a look at the cause please.
    Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/PRE_SYSTEM_ACTIONS/PROCACT_SYSTEM
    Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/PROCOBJ
    ORA-39127: unexpected error from call to export_string :=SYS.DBMS_SERVER_ALERT_EXPORT.SYSTEM_INFO_EXP(1,dynconnect,'11.02.00.02.00',newblock)
    ORA-13914: Threshold notification failed.
    ORA-06512: at "SYS.DBMS_SERVER_ALERT", line 187
    ORA-06512: at "SYS.DBMS_SERVER_ALERT_EXPORT", line 132
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 7418
    Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/POST_SYSTEM_ACTIONS/PROCACT_SYSTEM
    Processing object type DATABASE_EXPORT/SCHEMA/PROCACT_SCHEMA
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/PRE_TABLE_ACTION
    Regards

    There are a lot of similar errors on MOS, perhaps you should search through them and see if any apply to you.
    What version/patch level are you on? Have you made any grid control threshold modifications? Are you using procobol in an upgraded database?
    You might want to go through support for this one.

  • Unable to detect any parameter in html (webresource) when value is passed from onload method of form

    Unable to detect any parameter in html (webresource) when value is passed from onload method of form
    I am trying out some stuff. For which I created a simple Entity. In the form of the entity I have added a simple web resource (html). And for the onload of the form I am calling the following function
    function HelpDeskActivityOnLoadhandler()
     var customParameters = encodeURIComponent("first=First Value&second=Second Value&third=Third Value");
        Xrm.Utility.openWebResource("tsi_scriptzz",customParameters);
    Here is the code for the  tsi_scriptzz.html
    <html>
     <body>
      <script type="text/javascript">
        var vals = new Array();
        if (location.search != "") {
         vals = location.search.substr(1).split("&");
         for (var i in vals) {
          vals[i] = vals[i].replace(/\+/g, " ").split("=");
      </script>
     </body>
    </html>
    MY PROBLEM IS -> location.search is always coming back with empty string. So, it not getting the parametrs I am passing from the load method of the form.
    Could someone kindly help me.
    Thanks,
    Hasib

    Hello, I tried it myself. I got a new_test.htm file and a new_test.js file. The loadWebResource function is called on the OnLoad event of an Entity.
    function loadWebResource()
    var params = encodeURIComponent('param1=value one&param2=value two&param3=value three');
    Xrm.Utility.openWebResource('new_test.htm', params);
    <html>
    <head>
    <title>Web Resource Parameter Example</title>
    <!-- Use ../ClientGlobalContext.js.aspx if your webresource is in a deeper folder on CRM -->
    <script src="ClientGlobalContext.js.aspx" type="text/javascript"></script>
    <script type="text/javascript">
    document.onreadystatechange = function () {
    if (document.readyState == 'complete') {
    var params = getParams();
    for(var i=0; i<params.length; i++)
    log(params[i].name + ' ' + params[i].value);
    // this functions puts the params in a 'dictionary format'
    // f.e params[0].name = param1 & params[0].value = 'value one'
    // You could customize this function or find some on the internet to retrieve a param fe by name...
    // This is just an example how to get the name and values
    function getParams(){
    var params = [];
    var querystring = Xrm.Page.context.getQueryStringParameters().Data;
    var querystringparts = querystring.split('&');
    for(var i=0; i<querystringparts.length;i++)
    var split = querystringparts[i].split('=');
    params.push({
    name: split[0],
    value: split[1]
    </script>
    </head>
    <body>
    </body>
    </html>
    Hope it helps now. Kind Regards

Maybe you are looking for