How to get item from dictionary

I created dictionary and create two variables in SharePoint Designer 2013 workflow:
Name: Accept; Type: string; Value:  application/json;odata=verbose;
Name: Content-Type ; Type: string; Value: application/json;odata=verbose;
Output variable: JSonRequestHeader.
I called HTTP web service:
https://xxxxxx/_api/web/Lists/getbytitle('WorkflowTaskList')/items?$select=ID
then Get d/results from Variable:JSonResponse(Output to Variable: allItemsData)
then Count Items in Variable: allItemsData(Output to Variable: allItemsIDData)
These Actions worked well.
How I can get item’s ID number from dictionary?
Get d/results[%Variable: index%] or Get d/results([%Variable: index%]) where
index = 0,1,2….. did not extract ID numbers from dictionary
I would be grateful for any help.
bnossov

Andy,
Get d/results/[your index variable]/id or Get d/results/[your index variable]/ID
does not work.
The web service
https://xxxxxx/_api/web/Lists/getbytitle('WorkflowTaskList')/items?$select=ID
gives me:
 <?xml version="1.0" encoding="utf-8"
?>
<feed xml:base=https://xxxxxxxx/_api/ xmlns="http://www.w3.org/2005/Atom"
xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml">
  <id>07ac172a-107a-4058-bdc5-8dead90a39ec</id>
  <title
/>
  <updated>2014-04-16T20:51:04Z</updated>
<entry m:etag=""2"">
  <id>de27ea13-0f4c-4e94-97de-2ccb535ad8f4</id>
  <category
term="SP.Data.WorkflowTaskListListItem" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
  <link
rel="edit" href="Web/Lists(guid'd840c4a5-5692-430b-8e7a-a435f8b6e8c0')/Items(62)" />
  <title
/>
  <updated>2014-04-16T20:51:04Z</updated>
<author>
  <name
/>
  </author>
<content type="application/xml">
<m:properties>
  <d:Id m:type="Edm.Int32">62</d:Id>
  <d:ID m:type="Edm.Int32">62</d:ID>
  </m:properties>
  </content>
  </entry>
<entry m:etag=""3"">
  <id>3864b871-36eb-4594-b8c4-2bae909ea1ff</id>
  <category
term="SP.Data.WorkflowTaskListListItem" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
  <link
rel="edit" href="Web/Lists(guid'd840c4a5-5692-430b-8e7a-a435f8b6e8c0')/Items(63)" />
  <title
/>
  <updated>2014-04-16T20:51:04Z</updated>
<author>
  <name
/>
  </author>
<content type="application/xml">
<m:properties>
  <d:Id m:type="Edm.Int32">63</d:Id>
  <d:ID m:type="Edm.Int32">63</d:ID>
  </m:properties>
  </content>
  </entry>
<entry m:etag=""3"">
  <id>b78c4a1a-5be4-40b1-98e6-98f702602056</id>
  <category
term="SP.Data.WorkflowTaskListListItem" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
  <link
rel="edit" href="Web/Lists(guid'd840c4a5-5692-430b-8e7a-a435f8b6e8c0')/Items(64)" />
  <title
/>
  <updated>2014-04-16T20:51:04Z</updated>
<author>
  <name
/>
  </author>
<content type="application/xml">
<m:properties>
  <d:Id m:type="Edm.Int32">64</d:Id>
  <d:ID m:type="Edm.Int32">64</d:ID>
  </m:properties>
  </content>
  </entry>
 </feed>
I need to get d:ID value.
Thanks in advance for your help.
bnossov

Similar Messages

  • How to get items from a list that has more items than the List View Threshold?

    I'm using SharePoints object model and I'm trying to get all or a subset of the items from a SharePoint 2010 list which has many more items than the list view threshold (20,000+) using the SPList.GetItems() method. However no matter what I do the SPQueryThrottledException
    always seems to be thrown and I get no items back.
    I'm sorting based on the ID field, so it is indexed. I've tried setting the RowLimit property on the SPQuery object(had no effect). I tried specifying the RowLimit in the SPQuerys ViewXml property, but that still throws a throttle exception. I tried using the
    ContentIterator as defined here:http://msdn.microsoft.com/en-us/library/microsoft.office.server.utilities.contentiterator.aspx,
    but that still throws the query throttle exception. I tried specifying the RowLimit parameter in the ProcessListItems functions, as suggested by the first comment here:http://tomvangaever.be/blogv2/2011/05/contentiterator-very-large-lists/,
    but it still throws the query throttle exception. I tried using GetDataTable instead, still throws query throttle exception. I can't run this as admin, I can't raise the threshold limit, I can't raise the threshold limit temporarily, I can't override the lists
    throttling(i.e. list.EnableThrottling = false;), and I can't override the SPQuery(query.QueryThrottleMode = SPQueryThrottleOption.Override;). Does anyone know how to get items back in this situation or has anyone succesfully beaten the query throttle exception?
    Thanks.
    My Query:
    <OrderBy>
        <FieldRef Name='ID' Ascending='TRUE' />
    </OrderBy>
    <Where>
        <Geq><FieldRef Name='ID' /><Value Type='Counter'>0</Value></Geq>
    </Where>
    My ViewXml:
    <View>
        <Query>
            <OrderBy><FieldRef Name='ID' Ascending='TRUE' /></OrderBy>
            <Where>
                <Geq><FieldRef Name='ID' /><Value Type='Counter'>0</Value></Geq>
            </Where>
        </Query>
        <RowLimit>2000</RowLimit>
    </View>
    Thanks again.

    I was using code below to work with 700000+ items in the list.
    SPWeb oWebsite = SPContext.Current.Web;
    SPList oList = oWebsite.Lists["MyList"];
    SPQuery oQuery = new SPQuery();
    oQuery.RowLimit = 2000;
    int intIndex = 1;
    do
    SPListItemCollection collListItems = oList.GetItems(oQuery);
    foreach (SPListItem oListItem in collListItems)
    //do something oListItem["Title"].ToString()
    oQuery.ListItemCollectionPosition = collListItems.ListItemCollectionPosition;
    intIndex++;
    } while (oQuery.ListItemCollectionPosition != null);
    Oleg
    Hi Oleg, thanks for replying.
    The problem with the code you have is that your SPQuery object's QueryThrottleMode is set to default. If you run that code as a local admin no throttle limits will be applied, but if you're not admin you will still have the normal throttle limits. In my
    situation it won't be run as a local admin so the code you provided won't work. You can simulate my dilemma by setting the QuerryThrottleMode  property to SPQueryThrottleOption.Strict, and I'm sure you'll start to get SPQueryThrottledException's
    as well on that list of 700000+ items.
    Thanks anyway though

  • How to get items from catalog-help ASAP

    I have several completed scrapbook pages that I cannot find anywhere in computer. They are showing up in the
    Catalog -pictures are there and its not stating it is a missing file. When I try to
    open or copy them,it goes immediately to browse for missing file. How can it be missing if it is
    showing up just like I saved it. I ahve had a frustating 2 days. Yesterday I deleted all my blank
    quickpages that I had downloaded so now I have to do that over. I am afraid some of these that will not open from the catalog were
    accidentally saved in scrapbook materials files. PLease tell what I can do to get these out of the catalog-it is hours of work and I need to fiish this in a couple of days. Blessings,Kathy

    In the thumbnails of this images in the catalog, right click and go to Properties. When you click the folder icon at the bottom of the dialog box, you will be taken to the location where the scrapbook pages should be.
    Regards,
    Chhaya

  • How to get value from list item

    Hi all,
    How to get value from list item?
    I have a problem with the List Item object
    in the Oracle forms.
    How can I retrieve the selected item from
    a list ?
    I didn't find any function like 'list.GET_
    SELECTED_ITEM()'...
    thanks
    Bala

    Hello,
    You get the value as for any other Forms item:
    :value := :block.list_tem ;Francois

  • How to get file from server while click on link

    Hi,
    i created on link and i gave one server path to select file from server but while clickinng on link it no displaying any thing.
    following is the Destination url that i gave for the item.
    /u08/app/appvis/xxex/inst/xxex_apps/xxrbe/logs/appl/conc/log/
    please tell me how to get file from server while click on link.

    Ok I got your requirement now.
    If you are getting file names from view attribute then you should not be adding destination URI property for the link.
    Instead you can use OADataBoundValueViewObject API.
    Try below code in your controller processRequest method:
    I am assuming that you are using classic table.
    Also in below example it considers OAMessageStyleText and you can replace it with link item if you want.
    OATableBean tableBean =
    (OATableBean)webBean.findChildRecursive("<table item id>");
    OAMessageStyledTextBean m= (OAMessageStyledTextBean)tableBean.findChildRecursive("<message styled text in table item id>");
    OADataBoundValueViewObject tip1 = new OADataBoundValueViewObject(m, "/u08/app/appvis/xxex/inst/xxex_apps/xxrbe/logs/appl/conc/log/"+"<vo attr name which stores file name for each row>");
    m.setAttributeValue(oracle.cabo.ui.UIConstants.DESTINATION_ATTR, tip1);
    Regards,
    Sandeep M.

  • How to get data from PDF form?

    PDF forms can send data in url like GET or POST method. Is it possible to get data from url, like in PHP http://sever/file.php?item1=value1&item2=value2&item3=value3
    In APEX url have specific construction and I don't know how to get value of items (1...3)
    Please let me help to find simple method of geting data from URL.
    Best Regards,
    Mark

    The APEX URL syntax is detailed here
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/concept.htm#BCEDJBEH
    How to get it from PDF is another matter...
    I'm working on an app that downloads PDFs with a Large amount of data as a blob, takes that blob and changes it to XML, then goes through the xml to validate each section of data and then add it into the schema that my apex app is referencing....
    I didn't write the original code but I do know that it isn't a quick thing to implement and includes using some uploading some java jar files to your schema and writing some custom java code.
    Someone else may be able to help with grabbing PDF data into the URL for the amounts of data you want to pass to apex.
    Gus..
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!
    Edited by: Gussay on Sep 21, 2009 5:52 PM

  • Get Items from limited list by providing username and password - C#

    I'm using the code at the following link in order to get items from SharePoint list,
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.list.getitems.aspx
    I have a SharePoint list that limited to certain users.
    How can I provide by this code (or else) a username and password and log in as a different user who has access to this SharePoint list and get its items?
    Thanks!

    Sorry, previous post didn't see you were using client object model.
    Service.Credentials = (create new credentials passing username and password)
    ICredentials credentials = new NetworkCredential("Joe",SecurelyStoredPassword,"mydomain");
                math.Credentials = credentials
    Thanks!
    Actually, my full question already posted here:
    http:  //sharepoint.stackexchange.com/questions/84917/c-why-impersonation-is-expired-while-clientcontext-executequery-is-performe
    but I was unable to post it here as a new user (images, links, lenght ...) even the link above I was need to insert spaces after "http:" to be able to post it.
    Anyway, I don't know "client object model." am I using it?
    You mentioned "Service.Credentials", What do you mean "Service"?

  • How to remove items from iPad home screen?

    How to remove items from iPad home screen?

    Press and hold any of the apps and after a couple of seconds or so they should start to shake. Then press the 'x' in the left corner to delete the ones that you don't want, and when you've finished deleting press the home button so as to stop the shaking. If you don't get the 'x' on any of the apps that you've downloaded (you can't delete built-in apps) then check that Settings > General > Restrictions > Deleting Apps isn't set 'off'

  • How to remove items from my reading lists on my ipad?

    how to remove items from my reading lists on my ipad?

    Swipe across its name in the list and it should get a Delete button on it - tap that and it should be removed from the list

  • How to remove item from my iPhone and iPad on my reading list?

    How to remove item from my iPhone and iPad on my reading list?

    Swipe across its name in the list and it should get a Delete button on it - tap that and it should be removed from the list

  • How to get item field values for old versions?

    I need to be able to query old field values from previous versions of items in a SharePoint list. I can't execute code on the server (it needs to work with SharePoint Online/O365 for a start).
    So far the ONLY API I've that lets me do this is the lists.asmx GetVersionCollection SOAP call.
    This lets me specify a single field name and returns an XML structure with the values for the various versions, along with the modification time and who made the change - but NO reliable way of actually identifying *which* version (i.e. an ID or label). That
    is, if I know I need to fetch the Title value from version 512 ("1.0") of item 1 in list "Documents", I don't see how to reliably parse the results to determine which entry is version 512. While they may be returned in order, in many cases
    the entries are actually missing when there was no field value present (or perhaps when the field hadn't been created yet). I've tried comparing the Modified date to the Created date of the corresponding FileVersion item (which I can get via CSOM or REST),
    and while it works some of the time, it's not reliable. I've also looked at the output from the lists.asmx GetVersion API but I don't see how that's useful either, as the Created property for all versions always seems to be just the date the file was originally
    created.
    It does seem odd to me that there's not a neat way of doing this - if I need to return information for several fields but just for a single version, I have to make a whole lot of requests that return far more info than I need, and then I need to figure out
    how to parse the returned text in the case of, say, multiple-value taxonomy fields etc.
    Anyone tried doing anything similar here?
    Thanks
    Dylan

    try these links:
    https://support.office.microsoft.com/en-us/article/Track-and-view-version-information-for-SharePoint-list-items-2d69d936-fb0b-4c84-830e-11708e6ec317?CorrelationId=f87cf6ea-8cbf-446a-a4a0-e2c3a86b3425&ui=en-US&rs=en-US&ad=US
    https://social.technet.microsoft.com/Forums/en-US/e48ff216-7ed1-4b20-9f21-d496b1583eea/how-to-get-item-field-values-for-old-versions?forum=sharepointdevelopment
    http://sharepoint.stackexchange.com/questions/20019/get-meta-data-from-a-previous-version-of-a-document-through-webservice-in-moss-2
    http://sharepoint.stackexchange.com/questions/121594/getting-information-from-previous-versions-of-a-sp-list-using-csom
    Please mark answer as correct if it is correct else vote for it if you find it useful Happy SharePointing

  • How to get photos from mac to iPhone 6? when i try it just comes up iCloud instead of my photos

    how to get photos from mac to iPhone 6? when i try it just comes up iCloud instead of my photos

    Make sure Settings > iCloud > Photos > iCloud Photo Library (Beta) = "Off"
    Then sync your iPhone using iTunes and make sure your sync settings for photos are set correctly in iTunes.

  • I got a new computer and don't know how to get music from ipod touch to itunes library

    I recently got a new computer and don't know how to get music from my ipod touch to show on my itunes library. 

    You need to transfer the iTunes folder from the old computer to the new one.
    iTunes: How to move your music to a new computer (Mac or Windows):
      http://support.apple.com/kb/HT4527

  • I have a new MacAir and don't know how to get info from my USB stick and my SD photo card.  Can anyone help me please?

    I have a new MacBook Air and don't know how to get info from my USB stick and get info from my SD card.  Can anyone help, please?

    Plug the stick and/or card into the appropriate slots on the side of your Air. Do you see icons for the devices appear on the desktop? Click into them to see what files are there.
    Matt

  • How to get data from a USB-UIRT device using Labview?

    How to get data from a USB-UIRT device using Labview?
    I'm trying to get data from a USB-UIRT device, is it posible with Labview?
    I really appreciate your help, 
    thanks

    You may want to contact the developer of the device for the API and DLL.
    http://65.36.202.170/phpBB2/viewforum.php?f=3

Maybe you are looking for

  • New GL - Update segment field of table FAGLFLEX*

    Hi All, We are turning document splitting in our configuration, split by segment. When do posting of invoice, the vendor leg will be automatically split base on expense leg segment. Example enter invoice consist of 2 expense leg: GL Account    Segmen

  • After upgrade DVA doesn't show in AdminService Console.

    I upgraded our GW2012 system and it went okay; aside from some issues the GWIA. But, anyway, the GW2012 system had a running DVA, and after the upgrade it still works. However, the Admin-Console doesn't know about it. Under "Document Viewer Agent" th

  • Upon Double Click in Finder, Premiere Proj opens with Speedgrade

    "New" Mac Pro running Creative Cloud I updated Speedgrade yesterday, now whenever I double click on a Premiere project in finder to launch the project in Premiere, Speedgrade wants to open the file instead. I know I can right-click and tell Finder to

  • 10.5.8 to snow leopard

    I am trying to install snow leopard to my Macbook Pro. However, when I run the disc, it gives me an error message.  "The application "Install Mac OS X" cannot be used from this volume."  I have tried partioning, but it does not allow me to change any

  • Unable to play some videos since ios7 update

    Downloaded videos from my iMac & podcast videos for my holiday travels but only purchased items from the Apple store will play back.