{"id":2141,"date":"2020-04-24T14:39:55","date_gmt":"2020-04-24T14:39:55","guid":{"rendered":"http:\/\/elbsolutions.com\/projects\/?p=2141"},"modified":"2022-02-03T11:24:26","modified_gmt":"2022-02-03T17:24:26","slug":"making-soap-requests-still-works-on-sharepoint-online","status":"publish","type":"post","link":"https:\/\/elbsolutions.com\/projects\/making-soap-requests-still-works-on-sharepoint-online\/","title":{"rendered":"Making Soap Requests still works on SharePoint Online"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I was getting individual fields from a Sharepoint List and the SOAP request (old code) needed the viewId (a GUID) and it took a long time to find it. It is quite easy to find (now that I found it once) but if you go to the classic view and click Library-&gt;ModifyView and scroll all the way to the bottom-right &#8211;  you will see your viewId in url-encoded text at end of the URL. Done. Its tricky to know what GUID was being sought and it wasn&#8217;t on my blog &#8211; so it took longer. Never again \ud83d\ude09 You can stop reading but below is the context in which the viewId is needed.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">Here is the full SOAP request in case <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: vb; title: ; notranslate\" title=\"\">\nPrivate Function GenerateSOAPBody(viewId As String, valueToGetHere As String)\n    Dim req As String\n    req = &quot;&lt;?xml version=&#039;1.0&#039; encoding=&#039;utf-8&#039;?&gt;&quot;\n    req = req &amp; &quot;&lt;soap:Envelope xmlns:xsi=&#039;http:\/\/www.w3.org\/2001\/XMLSchema-instance&#039; &quot;\n    req = req &amp; &quot;xmlns:xsd=&#039;http:\/\/www.w3.org\/2001\/XMLSchema&#039; xmlns:soap=&#039;http:\/\/schemas.xmlsoap.org\/soap\/envelope\/&#039;&gt;&quot;\n    req = req &amp; &quot;&lt;soap:Body&gt;&lt;GetListItems xmlns=&#039;http:\/\/schemas.microsoft.com\/sharepoint\/soap\/&#039;&gt; &quot;\n    req = req &amp; &quot;&lt;listName&gt;DefaultConfigList&lt;\/listName&gt;&lt;viewName&gt;&quot; &amp; viewId &amp; &quot;&lt;\/viewName&gt;&lt;query&gt;&lt;Query xmlns=&#039;&#039;&gt;&lt;Where&gt;&lt;Eq&gt;&lt;FieldRef Name=&#039;Title&#039; \/&gt;&lt;Value Type=&#039;Text&#039;&gt;&quot; &amp; valueToGetHere &amp; &quot;&lt;\/Value&gt;&lt;\/Eq&gt;&lt;\/Where&gt;&lt;OrderBy&gt;&lt;FieldRef Name=&#039;Title&#039; \/&gt;&lt;\/OrderBy&gt;&lt;\/Query&gt;&lt;\/query&gt;&quot;\n    req = req &amp; &quot;&lt;viewFields&gt;&lt;ViewFields xmlns=&#039;&#039;&gt;&lt;FieldRef Name=&#039;ID&#039; \/&gt;&lt;FieldRef Name=&#039;textValue&#039; \/&gt;&lt;\/ViewFields&gt;&lt;\/viewFields&gt;&lt;ViewFieldsOnly&gt;true&lt;\/ViewFieldsOnly&gt;&quot;\n    req = req &amp; &quot;&lt;\/GetListItems&gt;&lt;\/soap:Body&gt;&lt;\/soap:Envelope&gt;&quot;\n    GenerateSOAPBody = req\nEnd Function\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>I was getting individual fields from a Sharepoint List and the SOAP request (old code) needed the viewId (a GUID) and it took a long time to find it. It is quite easy to find (now that I found it once) but if you go to the classic view and click Library-&gt;ModifyView and scroll all [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2141","post","type-post","status-publish","format-standard","hentry","category-general"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Making Soap Requests still works on SharePoint Online - ELB Solutions.com Inc.<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elbsolutions.com\/projects\/making-soap-requests-still-works-on-sharepoint-online\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Making Soap Requests still works on SharePoint Online - ELB Solutions.com Inc.\" \/>\n<meta property=\"og:description\" content=\"I was getting individual fields from a Sharepoint List and the SOAP request (old code) needed the viewId (a GUID) and it took a long time to find it. It is quite easy to find (now that I found it once) but if you go to the classic view and click Library-&gt;ModifyView and scroll all [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elbsolutions.com\/projects\/making-soap-requests-still-works-on-sharepoint-online\/\" \/>\n<meta property=\"og:site_name\" content=\"ELB Solutions.com Inc.\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-24T14:39:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-03T17:24:26+00:00\" \/>\n<meta name=\"author\" content=\"Etienne Bley\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Etienne Bley\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/making-soap-requests-still-works-on-sharepoint-online\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/making-soap-requests-still-works-on-sharepoint-online\\\/\"},\"author\":{\"name\":\"Etienne Bley\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"headline\":\"Making Soap Requests still works on SharePoint Online\",\"datePublished\":\"2020-04-24T14:39:55+00:00\",\"dateModified\":\"2022-02-03T17:24:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/making-soap-requests-still-works-on-sharepoint-online\\\/\"},\"wordCount\":132,\"articleSection\":[\"General\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/making-soap-requests-still-works-on-sharepoint-online\\\/\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/making-soap-requests-still-works-on-sharepoint-online\\\/\",\"name\":\"Making Soap Requests still works on SharePoint Online - ELB Solutions.com Inc.\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\"},\"datePublished\":\"2020-04-24T14:39:55+00:00\",\"dateModified\":\"2022-02-03T17:24:26+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/making-soap-requests-still-works-on-sharepoint-online\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/making-soap-requests-still-works-on-sharepoint-online\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/making-soap-requests-still-works-on-sharepoint-online\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Making Soap Requests still works on SharePoint Online\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\",\"name\":\"ELB Solutions.com Inc.\",\"description\":\"Bringing all your IT Pieces together\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\",\"name\":\"Etienne Bley\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"caption\":\"Etienne Bley\"},\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/author\\\/etienne-bley\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Making Soap Requests still works on SharePoint Online - ELB Solutions.com Inc.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/elbsolutions.com\/projects\/making-soap-requests-still-works-on-sharepoint-online\/","og_locale":"en_US","og_type":"article","og_title":"Making Soap Requests still works on SharePoint Online - ELB Solutions.com Inc.","og_description":"I was getting individual fields from a Sharepoint List and the SOAP request (old code) needed the viewId (a GUID) and it took a long time to find it. It is quite easy to find (now that I found it once) but if you go to the classic view and click Library-&gt;ModifyView and scroll all [&hellip;]","og_url":"https:\/\/elbsolutions.com\/projects\/making-soap-requests-still-works-on-sharepoint-online\/","og_site_name":"ELB Solutions.com Inc.","article_published_time":"2020-04-24T14:39:55+00:00","article_modified_time":"2022-02-03T17:24:26+00:00","author":"Etienne Bley","twitter_misc":{"Written by":"Etienne Bley","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elbsolutions.com\/projects\/making-soap-requests-still-works-on-sharepoint-online\/#article","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/making-soap-requests-still-works-on-sharepoint-online\/"},"author":{"name":"Etienne Bley","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"headline":"Making Soap Requests still works on SharePoint Online","datePublished":"2020-04-24T14:39:55+00:00","dateModified":"2022-02-03T17:24:26+00:00","mainEntityOfPage":{"@id":"https:\/\/elbsolutions.com\/projects\/making-soap-requests-still-works-on-sharepoint-online\/"},"wordCount":132,"articleSection":["General"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/elbsolutions.com\/projects\/making-soap-requests-still-works-on-sharepoint-online\/","url":"https:\/\/elbsolutions.com\/projects\/making-soap-requests-still-works-on-sharepoint-online\/","name":"Making Soap Requests still works on SharePoint Online - ELB Solutions.com Inc.","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/#website"},"datePublished":"2020-04-24T14:39:55+00:00","dateModified":"2022-02-03T17:24:26+00:00","author":{"@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"breadcrumb":{"@id":"https:\/\/elbsolutions.com\/projects\/making-soap-requests-still-works-on-sharepoint-online\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elbsolutions.com\/projects\/making-soap-requests-still-works-on-sharepoint-online\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/elbsolutions.com\/projects\/making-soap-requests-still-works-on-sharepoint-online\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/elbsolutions.com\/projects\/"},{"@type":"ListItem","position":2,"name":"Making Soap Requests still works on SharePoint Online"}]},{"@type":"WebSite","@id":"https:\/\/elbsolutions.com\/projects\/#website","url":"https:\/\/elbsolutions.com\/projects\/","name":"ELB Solutions.com Inc.","description":"Bringing all your IT Pieces together","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elbsolutions.com\/projects\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39","name":"Etienne Bley","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","caption":"Etienne Bley"},"url":"https:\/\/elbsolutions.com\/projects\/author\/etienne-bley\/"}]}},"_links":{"self":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/2141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/comments?post=2141"}],"version-history":[{"count":2,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/2141\/revisions"}],"predecessor-version":[{"id":2143,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/2141\/revisions\/2143"}],"wp:attachment":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/media?parent=2141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/categories?post=2141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/tags?post=2141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}