<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Updating Managed Passwords in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Updating-Managed-Passwords/m-p/430658#M106458</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to update MS SharePoint list data using SAS, and I'm not quite sure how to go about it.&amp;nbsp; I've copied some of the code that i use to update a list item from javascript and a html page.&amp;nbsp; This was taken from functioning script.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;//This is sent to SharePoint so it doesn't update all of the variables, just the ones submitted.&lt;BR /&gt;var beforeSendFunction = function (xhr) {&lt;BR /&gt;xhr.setRequestHeader("If-Match", "*");&lt;BR /&gt;// Using MERGE so that the entire entity doesn't need to be sent over the wire.&lt;BR /&gt;xhr.setRequestHeader("X-HTTP-Method", 'MERGE');&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;$.ajax({&lt;BR /&gt;type: "POST",&lt;BR /&gt;contentType: "application/json; charset=utf-8",&lt;BR /&gt;processData: false,&lt;BR /&gt;beforeSend: beforeSendFunction,&lt;BR /&gt;url: firmURL,&lt;BR /&gt;data: JSON.stringify(firmModifications), //this is a json object converted to a string of what is submitted to the server.&lt;BR /&gt;dataType: "json",&lt;BR /&gt;error:function (jqXHR,textStatus,errorThrown){&lt;BR /&gt;alert('There was an error in the firm update you just tried to make.');&lt;BR /&gt;},&lt;BR /&gt;success: function (data,textStatus, jqXHR){&lt;BR /&gt;alert('success');&lt;BR /&gt;}&lt;BR /&gt;});&lt;BR /&gt;//}&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jan 2018 20:16:04 GMT</pubDate>
    <dc:creator>dwaynejarman</dc:creator>
    <dc:date>2018-01-24T20:16:04Z</dc:date>
    <item>
      <title>Updating Managed Passwords</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Updating-Managed-Passwords/m-p/430658#M106458</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to update MS SharePoint list data using SAS, and I'm not quite sure how to go about it.&amp;nbsp; I've copied some of the code that i use to update a list item from javascript and a html page.&amp;nbsp; This was taken from functioning script.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;//This is sent to SharePoint so it doesn't update all of the variables, just the ones submitted.&lt;BR /&gt;var beforeSendFunction = function (xhr) {&lt;BR /&gt;xhr.setRequestHeader("If-Match", "*");&lt;BR /&gt;// Using MERGE so that the entire entity doesn't need to be sent over the wire.&lt;BR /&gt;xhr.setRequestHeader("X-HTTP-Method", 'MERGE');&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;$.ajax({&lt;BR /&gt;type: "POST",&lt;BR /&gt;contentType: "application/json; charset=utf-8",&lt;BR /&gt;processData: false,&lt;BR /&gt;beforeSend: beforeSendFunction,&lt;BR /&gt;url: firmURL,&lt;BR /&gt;data: JSON.stringify(firmModifications), //this is a json object converted to a string of what is submitted to the server.&lt;BR /&gt;dataType: "json",&lt;BR /&gt;error:function (jqXHR,textStatus,errorThrown){&lt;BR /&gt;alert('There was an error in the firm update you just tried to make.');&lt;BR /&gt;},&lt;BR /&gt;success: function (data,textStatus, jqXHR){&lt;BR /&gt;alert('success');&lt;BR /&gt;}&lt;BR /&gt;});&lt;BR /&gt;//}&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 20:16:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Updating-Managed-Passwords/m-p/430658#M106458</guid>
      <dc:creator>dwaynejarman</dc:creator>
      <dc:date>2018-01-24T20:16:04Z</dc:date>
    </item>
  </channel>
</rss>

