Concatenate a loaded URL of JSON

If you have a JSON file that is loading (no problem), and one of the JSON variables is named "lelien" with a value of " " http://www.somewebsite.com "

How you would be that concatenate in Animate.  Although the following syntax gave me no error, it worked not on one click.

$.getJSON (myjson, {function (data)})

{

{sym.getSymbol("taboption2").click (function ()}

Window.Open ((Data[0].thelink), "_parent") ;})

}

});

Thank you vivekuma,

Close! There were a couple of extra' in your string.  Also the correction on the click event has failed.  Click on the entire symbol according to my original code block.  Just {sym.getSymbol("taboption1").click (function)

The final syntax which worked to obtain the data from the JSON object is as follows.  The only difference was I removed the "s inside" which was in your text.

Window.Open ("" + .thelink data [0] + "", "_parent");

Thanks a lot for your help!  Very much appreciated.

Tags: Edge Animate

Similar Questions

  • Contact field to concatenate when loading? Solutions?

    I need a certain area to concatenate when loading (added value); However, the logic of download is limited to "if white update" or "update otherwise blank", do not leave a lot of logic here:

    Displaying image.png

    If I could write the value in another field, say a temporary, I can't concatenate using the updated rules because the logic it is limited, as well. The only nearby option is "add value." However, that is set to a static value (hardcoded in the update rule), not the value of a field. The other options are "crush of...» » ; that did not help either. I need to manipulate both values to make one with a delimiter.

    Inline image 1

    What are my options here, from rules of game/Dedup or manipulation of strings using cloud connectors? I'm trying to pull this using Eloqua and not a solution custom outside of eloqua.

    If someone has been down this road before?

    If the download of two fields, has a specially designed for this called cloud connector 'string concatenate' rather than 'chain Manipulator. " To the latter I have described above, which works like a charm.

    It would be nice to have some logic to download more than that, even if (as mentioned in my first sentence in the original post)

  • New tab setting to load URL

    I had the installer of Firefox to make it work the way I like it and the last update added "suggested sites" for new tabs. I recognize what they / you are trying to create new features, but I don't like this feature. No problem with that, but I want my standard page in return she used to load. Details are always available on: config and browser.newtab.url, but he is no more responsible for this page. I removed the details for suggested sites and now it loads a blank page with a search bar. Any suggestions?

    Hi, 41 of Firefox, you must use an add-on like tab override (browser.newtab.url replacement), to make changes to the page tab.

    Once installed, open the Add-ons (Ctrl + Shift + A) Manager > Extensions, and then look for the new tab override and click Options to set your preference.

    Note, if you want only the new tab to be the same as your home page, you can use the Add on new tab homepage instead.

    You will then need to restart Firefox for all changes to take effect.

    If your question is resolved by this or another answer, please take a minute to let us know. Thank you.

  • How to analyze the image url in json?

    Hello

    I get the response from the server and crawled through json. And display it in the field

    Like name1 as:

    try {}
    labelField1.setText (jsonObject2.get("name1").toString ());
    }

    catch (JSONException e)

    {
    System.out.println ("JSONException Description");
    }

    Similarly, I want to make the image. How to analyze the url of the image and display it in the BitmapField?

    You must create a separate thread to extract the bytes of the image of the URL you have.

    You can use the following code to get the image to the server.

    public EncodedImage getImageBytesFromURL(String url){
            ConnectionFactory connFactory = null;
            ConnectionDescriptor connDescriptor = null;
            HttpConnection httpConn = null;
            InputStream inputStream = null;
            byte[] response = null;
            try {
                connFactory = new ConnectionFactory();
                connFactory.setConnectionTimeout(10*1000);
                connFactory.setAttemptsLimit(1);
                connDescriptor = connFactory.getConnection(url;interface=wifi);
                if (connDescriptor != null) {
                    httpConn = (HttpConnection) connDescriptor.getConnection();
                    inputStream = httpConn.openInputStream();
                    int responseCode = httpConn.getResponseCode();
                    if(responseCode == HttpConnection.HTTP_OK){
                        response = readStream(inputStream);
                    }
                }
            }catch (IOException e) {
    
            }finally {
                try {
                    inputStream.close();
                    httpConn.close();
                    inputStream = null;
                    httpConn = null;
                    connDescriptor = null;
                    connFactory = null;
                } catch (Exception e) {
    
                }
            }
            EncodedImage encodedImage = null;
            if(response != null){
                encodedImage = EncodedImage.createEncodedImage(response, 0, response.length);
            }
            return encodedImage;
        }
    

    Remember that this method should be in a background thread. Otherwise, your user interface crashes. The encodedImage that returns the method above can be easily converted to bitmap and set in your bitmapfield.

  • What browser uses tide to load URL files? How to check the version of the browser

    We intend to migrate to sharepoint list files. When I insert the sharepoint url in the folders tab, it loads perfectly. When I click on the hyperlink on the page, I'm running script pop - pup - "an error has occurred in the script on this page" - class not registered (loaded scriptFiles undefined-microsoft Jscript runtime error).

    This clickable link on the page works perfectly in IE or chrome. I want to know what browser and using the version of tide. How do I check this? If I had to change the browser settings where can I do. Or if someone has encountered a similar problem, please suggest the fix.

    Thank you!

    We also used Citrix for our 5.3.1 version and it works for us (web sites and internal sharepoint 2010 & 2008 version)

    A couple of things to try

    1. customer install locally try again
    2. Permissions on wiki sharpoint Site Actions... Site permissions. The permissions of site url must end with /_layouts/user.aspx or ask your administrator SharePoint to read to users or to groups of ads that should consult the pages on the wiki (which is what we did)

    I can't speak for 5.2.2 and probably that is not supported by Cisco

    CISCO, support for YOUR extended 5.3.1 until January 31, 2016.

    Installation of the tide 6 as soon as possible,

    Marc

  • loading URL WebView in C++

    I have a property webview and URLs defined in QML as follows:

    WebView {}
    ID: mWebView
    objectName: "mWebView."
    URL: "http://www.google.com".
    }

    Then I try to load a different URL in C++ as follows:

    mImageView = root->findChild ("mImageView");

    mWebView-> setUrl (QUrl ("http://www.yahoo.com"));

    mWebView-> reload();

    I can say webview object has updated because of the command reload but showing google.com rather yahoo.  What is the proper way to load a new URL to an existing object of webview?

    Ok. It turns out that all I need to load a new page is to call the function setUrl WebView. Reload call immediately following actually cancels the loading of the new page.

    mWebView-> setUrl (QUrl ("http://www.yahoo.com"));

    mWebView-> reload();

  • Problem loading URLS external [please..]

    Hello guys,.
    I'm usin copy the following code to execute a file and query:

    ActionScript code:
    var req:URLRequest = new URLRequest("http://site.com/z.php?id=" + user_id + "&mana=" + (Round - 1));

    var loader:URLLoader = new URLLoader();
    loader.load(req);

    When I run the swf file SAF ctrl + enter in flash cs5, it works great!

    but, when I have this download on my server its does not, or even when I run office still does not

    (do not load the url then my DB not updated)

    I don't understand why.

    Please wait for your help.

    Cool
    Please mark this topic "answered" so that people can find a solution if they have the same problem.

  • problems with the JSON data loading

    Hello

    I have follow-up Simon Widjaja (EDGEDOCKS) YouTube lesson for the JSON data loading external. But I am not able to connect at least the console database.

    I get this error: "error avascript in the handler! Type of event = element.

    Content.JSON is located in the folder. Data there are very simple:

    [

    {

    "title": "TITLE 1",

    'description': "DESCRIPTION 1"

    },

    {

    "title": "TITLE 2",

    'description': "DESCRIPTION 2"

    }

    ]

    And here's the code in edgeActions.js:

    (function ($, edge, compId) {})

    Composition of var = Edge.Composition, symbol = Edge.Symbol; alias for classes of edge commonly used

    Edge symbol: "internship."

    (function (symbolName) {}

    Symbol.bindElementAction (compId, NomSymbole, 'document', 'compositionReady', function (sym, e) {})

    external json data loading

    $.ajax({)

    type: 'GET ',.

    cache: false,

    URL: "content.json",

    data type: 'json ',.

    success: function (data) {console.log ("data:", data);},

    error: function() {console.log ("something went wrong") ;}}

    });

    });

    End of binding edge

    (}) ('step');

    End of edge symbol: "internship."

    }) (window.jQuery |) AdobeEdge. ($, AdobeEdge, "EDGE-11125477");

    I tried $getJSON also as mentioned in the youtube video.

    Please note: I do not understand 'something was wrong' also connected.

    I use the free trial version. It is a limitation in the free trial version?

    Well, same question as here: loading external data using ajax

    Cannot run the jQuery file is missing, then $. ajax() or $. getJSON().

    You must add the jQuery file as shown below:

    See: http://jquery.com/download/

    Note: Without loading the jQuery file, you can use these functions: API JavaScript Adobe Edge animate CC

  • URL clicked in other programs will not load in Firefox

    Only in the last weeks of 1-3 (?) or so, I find that I can not click on links in other programs and have load URL in Firefox, which is my default browser. They always used to load perfectly and move me to the new tab in FF, but now they do not have.

    At first I tried to disable some recent FF modules one at a time to see if one of them could have been the problem, but that does not resolve, even though I may have missed one. Yet, I can't imagine how an independent add-on could cause URLs do not load from other programs. I tried to load the URL by clicking on it in Thunderbird, WordPad, MailWasher Pro and free agency, but each of them either just trembled at the screen for a moment and then stopped, or gave me a message such as 'WordPad could not open the URL' or ' there was a problem sending a command to the program "(free agency). However, when I copy and paste these URLS even in FF and press ENTER, these sites load perfectly.

    I may be wrong in the present, but it seems that something has changed in the FF that now prevents the links clicked in other programs from loading. My only other thought at the moment, it's that this peut eventually began all the time I upgraded from FF 10.0.2 to FF 11.0.1, but I have no evidence to support this theory.

    It's really an annoying problem and embarrassing, so any help to solve it will be much appreciated!

    Thank you
    Al

    The problem is solved now, as a result of assistance that I'm on WindowsSecrets forum. Once I realized that the problem occurred only with PCM and Thunderbird, but with other programs as well (I tried WordPad and free agency, which didn't even load the URL in Firefox), I posted the question on other forums, trying to see if others knew something about this issue. I got the answer of a member of the forum on this page:

       http://windowssecrets.com/forums/showthread.php/145441-URLs-clicked-in-other-programs-won-t-load-in-Firefox?p=847784#post847784
    

    In case you are not a member it or may not load this page, here is her suggestion:

       With FF closed type %APPDATA%\Mozilla\Firefox\Profiles\ in the start menu search box, click the item that appears and delete localstore.rdf FF will replace it on starting.
    

    I did this and all four programs that had previous problems loading of the URL, including MWC, now load them perfectly. The only (small) problem with this solution was localstore.rdf apparently saves all information about things like the Firefox toolbars and their customization, so all that was lost when I deleted the file, but I re-adapted quite quickly and everything is fine. Any thoughts about what localstore.rdf does, why this problem happened, or how to do to prevent it happening again will be appreciated.

    I hope this info helps. Thanks again for your help.

    Kind regards
    Al

  • How to load and object to read a file in CC Json animate?

    I'm a little puzzled about how to load an external Json file and have for example a text box display the Json file information.

    I'm used to make this way on the edge, but how the cabin = n I do this with the new animate CC 2016?

    Thanks a bunch,

    SAL

    Here is the code example:

    var LQ is new createjs. LoadQueue (true);

    lq.addEventListener ('complete', completeF);

    lq.loadFile ({id: "json", CBC:"test.json"});})

    function completeF (event) {}

    JSON = event.target.getResult ('json') var;

    parseJSONF (json);

    }

    function parseJSONF (obj) {}

    for (^ s in obj) {}

    {If (typeof {obj [s] = 'object'})}

    parseJSONF (obj [s]);

    } else {}

    Console.log (s + ': ' + obj [s])

    }

    }

    }

  • Json stream composed and ListView

    Hello world

    This seems to be a simple problem with a simple solution, I just can't understand it.

    Loading a simple json in a list view is simple:

    jsonDataAccess = new JsonDataAccess();
    QVariant json = jsonDataAccess->loadFromBuffer(data);
    jsonDataModel->insertList(json.value());
    jsonListView->setDataModel(jsonDataModel);
    

    It works for the flows that are simple, as in the example of many on this site:

    [
        {
            "firstName" : "Mike",
            "lastName" : "Chepesky"
            "employeeNumber" : 01840192
        }
    ]
    

    What about Situations like this:

    {
    
        "error":null,
        "result":"success",
        "count":17,
        "podcasts":[
            {
                "title":"Arts",
                "image_url":"http://cdn.99percentinvisible.org/wp-content/uploads/powerpress/99in visible-logo-1400.jpg",
                "podcasts_url":"/api/v2/podcasts/category/145",
                "category_id":145
            },
            {
                "title":"Business",
                "image_url":"http://newdisruptors.s3.amazona ws.com/images/ND_full_iTunes.jpg",
                "podcasts_url":"/api/v2/podcasts/category/143",
                "category_id":143
            }]
    

    In the case above is not 'just work', I want to fill my ListView with all information under "podcasts", including the title, image_url, etc... But I can't understand how insert only that part of the json is fed into the model of group data.

    How to insert specific parts of the food in the Datamodel?

    See you soon,.

    EI

    I thought about it, the answers were already riddled through the forums. I guess I was looking for a "simple" solution, although it is short, it was not obvious.

    QVariantMap podcasts = jsonList.value();
    QVariantList podcatlist = podcasts.value("podcasts").toList();
    foreach (QVariant category, podcatlist)
    {
        categoryDataModel->insert(category.toMap());
    }
    categoryListView->setDataModel(categoryDataModel);
    
  • JSON Date Source

    Hello

    I'm almost done to convert my application to use XML to JSON; the last thing I need to reconfigure is my field of research (which is looking the listView data source).

    In XML, I would fix the query:

    query: "/root/continent"
    

    looking for this file:

    XML

    
        
            
            Brazil vs Croatia
            Thursday 12 June 2014
            17:00PM (Local Time)
            Arena de Sao Paulo
            
        
    
    

    So now, I have converted more of JSON and instead use the title of listItem, I use fixtureInfo just as they were both providing the same information.

    JSON

    [
      {
        "type":"item",
        "id":"1",
        "dateNumber":"12/06/2014",
        "fixtureInfo":"Brazil vs Croatia",
        "dateInfo":"Thursday 12 June 2014",
        "timeInfo":"17:00PM (Local Time)",
        "timestamp":"1402603200000",
        "stadiumInfo":"Arena de Sao Paulo"
      }
    ]
    

    Data source:

    DataSource {
                        id: dataSource1
                        property string sQuery: ""
                        onSQueryChanged: {
                            dataModel1.clear()
                            load()
                        }
                        source: "asset:///JSON/Fixtures.json"
                        type: DataSourceType.Json
                        remote: false
    
                        onDataLoaded: {
                            //create a temporary array tohold the data
                            var tempdata = new Array();
                            for (var i = 0; i < data.length; i ++) {
    
                                tempdata[i] = data[i]
    
                                //this is where we handle the search query
                                if (sQuery == "") {
                                    //if no query is made, we load all the data
                                    dataModel1.insert(tempdata[i])
                                } else {
                                    //if the query matches any part of the country TITLE, we insert that into the list
                                    //we use a regExp to compare the search query to the COUNTRY TITLE (case insenstive)
                                    if (data[i].listItem.title.search(new RegExp(sQuery, "i")) != -1) {
                                        dataModel1.insert(tempdata[i])
    
                                        //Otherwise, we do nothingand donot insert the item
                                    }
    
                                }
    
                            }
    
                            // this if statement below does the same as above,but handles the output if there is only one search result
                            if (tempdata[0] == undefined) {
                                tempdata = data
    
                                if (sQuery == "") {
                                    dataModel1.insert(tempdata)
                                } else {
                                    if (data.listItem.title.search(new RegExp(sQuery, "i")) != -1) {
                                        dataModel1.insert(tempdata)
                                    }
                                }
                            }
                        }
                        onError: {
                            console.log(errorMessage)
                        }
                    }
    

    Therefore, what set that the query - for my data source - so that it will pick up the JSON data as before with XML?

    Thanks in advance.

    Like many I know THAT JSON does not use a query. Check out these https://developer.blackberry.com/native/documentation/cascades/device_platform/data_access/working_w... https://developer.BlackBerry.com/native/reference/Cascades/bb__data__jsondataaccess.html

  • GroupDataModel is not sorting when the data are added to Json

    If I have an empty Json and I add data to him one by one, everything works just fine, but when I have a data in Json it sort. Let's say that this is my json:

    [
       {
          "DateCreated" : 1383137332,
          "DateToFinish" : "1383137400",
          "Description" : "Task 3",
          "Status" : "1",
          "taskId" : "3"
       },
       {
          "DateCreated" : 1383137327,
          "DateToFinish" : "1383137400",
          "Description" : "Task 2",
          "Status" : "1",
          "taskId" : "2"
       },
       {
          "DateCreated" : 1383137321,
          "DateToFinish" : "1383137400",
          "Description" : "Task 1",
          "Status" : "1",
          "taskId" : "1"
       }
    ]
    

    sortingKey is set for "taskId" and sortedAscending is set to false "(false) setSortedAscending" but in the ListView, it indicates in order as 'Task1, Task2, Task3' growing. I filled out model json with:

     QVariant list = jda->load(QDir::currentPath() +
                                 "/app/native/assets/test.json");
    
        this->insertList(list.value());
    

    In addition, after I have load and insert json to the model, when I try to add a new model element, it adds properly in its place. He would add "task4' with the id" taskId: 2 "at the top of the JSON...»

    EDIT: "jda" is ' bb::data :: JsonDataAccess'

    Put 'setSortedAscending (false)' after insertion has solved, but I'll leave this open for explanation.

  • JSON, QMap &amp; QList

    I tried to figure out how to insert correctly the data in a template to data using QList and QMap.

    Here is the data that I was loaded from a Json file:

    [
        {
            "firstName" : "Mike",
            "lastName" : "Chepesky",
            "contactInfo":[
                {
                    "email":"[email protected]",
                    "phone":"1-234-567-8910"
                }
            ],
            "employeeNumber" : 01840192
        },
        {
            "firstName" : "Westlee",
            "lastName" : "Barichak",
            "contactInfo":[
                {
                    "email":"[email protected]",
                    "phone":"1-234-567-8910"
                }
            ],
            "employeeNumber" : 47901927
        },
        {
            "firstName" : "Ian",
            "lastName" : "Dundas",
            "contactInfo":[
                {
                    "email":"[email protected]",
                    "phone":"1-234-567-8910"
                }
            ],
            "employeeNumber" : 29472012
        }
    ]
    

    And I want to put all these data in a single hierarchy, then in a GroupDataModel. A bit like this:

    [
        {
            "firstName" : "Mike",
            "lastName" : "Chepesky",
            "email":"[email protected]",
            "phone":"1-234-567-8910",
            "employeeNumber" : 01840192
        },
        {
            "firstName" : "Westlee",
            "lastName" : "Barichak",
            "email":"[email protected]",
            "phone":"1-234-567-8910",
            "employeeNumber" : 47901927
        },
        {
            "firstName" : "Ian",
            "lastName" : "Dundas",
            "email":"[email protected]",
            "phone":"1-234-567-8910",
            "employeeNumber" : 29472012
        }
    ]
    

    so far, I have the following code which will get "firstName", "lastName" and "employeeNumber" in the GroupDataModel but I can't seem to figure out how to get 'email' and 'phone' in there.

        ListView *listView = root->findChild("qmlListView");
    
        GroupDataModel *model = new GroupDataModel(QStringList() << "firstName" << "lastName");    JsonDataAccess jda;
    
        QVariant jsonva = jda.load(QDir::currentPath() + "/app/native/assets/employees.json");
    
        QVariantList list = jsonva.toList();
    
        for (QList::iterator it = list.begin(); it != list.end(); it++)
        {
            QVariantMap map = it->toMap();
            model->insert(map);
        }
    
        listView->setDataModel(model);
    

    Found a solution. The data hierarchy is preserved same key: value are set in QList and QMap. Therefor, all he need do is find the child table and throw it in a list. Once this is done you can retrieve the values from the list and unite those with the original map because it goes through an iterator. See the code below, and if anyone has any questions contact me.

        JsonDataAccess jda;
    
        //load JSON to a QVariant
        QVariant jsonva = jda.load(QDir::currentPath() + "/app/native/assets/employees.json");
    
        QVariantList list = jsonva.toList();
    
        for (QList::iterator it = list.begin(); it != list.end(); it++)
        {
            //Key-value pairs from list item put into a map
            QVariantMap map = it->toMap();
    
            //search key-value pairs for specific key of the array, in this case "contactInfo"
            QVariant childJsonva = map.value("contactInfo");
    
            //Take the key-value pairs from the variant above and put into QList
            QVariantList childList = childJsonva.toList();
    
            //iterate through the child list and put each key-value pair into a map
            for (QList::iterator childIt = childList.begin(); childIt != childList.end(); childIt++)
            {
                QVariantMap childMap = childIt->toMap();
    
                //combine child map with the original map
                map.unite(childMap);
            }
    
            model->insert(map);
        }
    
        // Set the data model for the list view
        listView->setDataModel(model);
    
  • Apex URL incorrect syntax

    Apex 4.2

    I'm working on an Apex URL that performs a process and branches to a page. I did search for the URL and am aware of how they work and how to make them and also used in the past. Apparently, I'm not as knowing that I thought that I'm faced with some problems. So there you go.

    (1) I have a basic report based on table ASSOCIATIONS

    CIT_ASSOC_XREF_ID (PK)

    CITATION_ID

    CITATION_NAME

    ASSOCIATION_ID

    Region report, or a query, that displays my report is the following:

    SELECT CIT_ASSOC_XREF_ID, CITATION_ID, CITATION_NAME, ASSOCIATION_ID, 'Link'
    FROM ASSOCIATIONS
    WHERE CITATION_ID = :P11_CITATION_ID
    

    One of the columns (link) I changed to a link column. Than that of the link column, I have the following:

    javascript:apex.submit({request:'SAVE',set:{'P11_RUN_REMOVE_CIT_ASSOC_FL':'Y'}});
    

    The URL works fine. I'll put a flag so that I can use in the conditional (point value / Expression 1 column = Expression) 2 of a pl/sql which I want to run and process in a branch. The problem occurs when I try to introduce a new parameter in my URL. The following URL does not work:

    javascript:apex.submit({request:'SAVE',set:{'P11_RUN_REMOVE_CIT_ASSOC_FL,P11_CIT_ASSOC_XREF_ID':'Y',#CIT_ASSOC_XREF_ID#}});
    

    It is not yet sail or send the page. It's always a clickable link, but even once, the page does nothing. Am I missing something? I'm out of quotes or something? This is not allowed. Any help on this would be great. Thanks in advance.

    NewApexCoder wrote:

    Apex 4.2

    I'm working on an Apex URL that performs a process and branches to a page. I did search for the URL and am aware of how they work and how to make them and also used in the past. Apparently, I'm not as knowing that I thought that I'm faced with some problems. So there you go.

    (1) I have a basic report based on table ASSOCIATIONS

    CIT_ASSOC_XREF_ID (PK)

    CITATION_ID

    CITATION_NAME

    ASSOCIATION_ID

    Region report, or a query, that displays my report is the following:

    1. SELECT 'Link', CITATION_NAME, CIT_ASSOC_XREF_ID, ASSOCIATION_ID, CITATION_ID
    2. ASSOCIATIONS
    3. WHERE CITATION_ID =: P11_CITATION_ID SELECT CIT_ASSOC_XREF_ID, CITATION_ID, CITATION_NAME, ASSOCIATION_ID, 'Link' OF ASSOCIATIONS WHERE CITATION_ID =: P11_CITATION_ID

    One of the columns (link) I changed to a link column. Than that of the link column, I have the following:

    1. JavaScript:apex. Submit({Request:'SAVE',Set:{'P11_RUN_REMOVE_CIT_ASSOC_FL':'Y'}});)

    The URL works fine. I'll put a flag so that I can use in the conditional (point value / Expression 1 column = Expression) 2 of a pl/sql which I want to run and process in a branch. The problem occurs when I try to introduce a new parameter in my URL. The following URL does not work:

    1. JavaScript:apex. Submit({Request:'SAVE',Set:{'P11_RUN_REMOVE_CIT_ASSOC_FL,P11_CIT_ASSOC_XREF_ID':'Y',#CIT_ASSOC_XREF_ID#}});)

    It is not yet sail or send the page. It's always a clickable link, but even once, the page does nothing. Am I missing something? I'm out of quotes or something? This is not allowed. Any help on this would be great. Thanks in advance.

    You're confusing URL and JSON syntax. APEX URLS use lists separated by commas in the positions of itemNames: itemValues of the URL:

    f?p=100:11:1234567890::::P11_RUN_REMOVE_CIT_ASSOC_FL,P11_CIT_ASSOC_XREF_ID:Y,#CIT_ASSOC_XREF_ID#

    The used JSON in the set option of the apex.submit method uses pairs of name: value:

    javascript:apex.submit({request: "SAVE", set:{"P11_RUN_REMOVE_CIT_ASSOC_FL": "Y", "P11_CIT_ASSOC_XREF_ID": #CIT_ASSOC_XREF_ID#}}); // Quote #CIT_ASSOC_XREF_ID# if it's not a number

Maybe you are looking for