<?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 Re: Add an existing custom property to an app via qrs in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Add-an-existing-custom-property-to-an-app-via-qrs/m-p/1684706#M12491</link>
    <description>&lt;P&gt;Hello I have the same issue (Qliksense february2018) adding existing custom properties to streams, dataconnections,...&lt;/P&gt;&lt;P&gt;I get&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The &amp;amp;quot;GetAllByMany&amp;amp;quot; operation failed&lt;/P&gt;&lt;P&gt;Using the command&lt;/P&gt;&lt;P&gt;curl --cert client.pem --insecure --key client_key.pem https://localhost:14242/qrs/dataconnection/many?xrfkey=0123456789abcdef --header "x-qlik-xrfkey: 0123456789abcdef" --header "X-Qlik-User: UserDirectory=internal;UserId=sa_repository" -X POST --data-binary "@d.json" -H "Content-Type: application/json"&lt;/P&gt;&lt;P&gt;and the json file generated by&amp;nbsp; "/qrs/dataconnection/full"&lt;/P&gt;&lt;P&gt;The command works if I set empty customProperties in my json file to&lt;/P&gt;&lt;P&gt;&amp;nbsp; "customProperties": []&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Matteo&lt;/P&gt;</description>
    <pubDate>Sun, 15 Mar 2020 13:13:44 GMT</pubDate>
    <dc:creator>matteoredaelli</dc:creator>
    <dc:date>2020-03-15T13:13:44Z</dc:date>
    <item>
      <title>Add an existing custom property to an app via qrs</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Add-an-existing-custom-property-to-an-app-via-qrs/m-p/1521769#M10171</link>
      <description>&lt;P&gt;I have been attempting to add an existing custom property to an existing app with a qrs put. I have tried many different formats for the customProperties array. I am on Day 3 of trying to add a custom property to an app.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the error :&amp;nbsp;Received error code: 400::The &amp;amp;quot;GetAllByMany&amp;amp;quot; operation failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;function setTheProps(appId, lastModifiedDate){
	
	var jsonArr = [];
	jsonArr.push({
				modifiedDate: lastModifiedDate, //this is the modifiedDate retrieved from the app
				modifiedByUserName: "my\\un",
				value: "Node C"
			});
			

	console.log(props);
	console.log(jsonArr);
	
	 trt.Put('/app/' + appId,
			{
				"modifiedDate": lastModifiedDate, // this is key, and is what's causing the 409 CONFLICT if missing
				"customProperties": 
					jsonArr
				
			},
			'json'
		).then(function(result)
		{
			console.log(result.body);
		})
		.catch(function(error)
		{
			console.log('node customProps error: ' +error);
			process.exit(0);
		});
}&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:01:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Add-an-existing-custom-property-to-an-app-via-qrs/m-p/1521769#M10171</guid>
      <dc:creator>bekahbeets</dc:creator>
      <dc:date>2024-11-16T07:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Add an existing custom property to an app via qrs</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Add-an-existing-custom-property-to-an-app-via-qrs/m-p/1684706#M12491</link>
      <description>&lt;P&gt;Hello I have the same issue (Qliksense february2018) adding existing custom properties to streams, dataconnections,...&lt;/P&gt;&lt;P&gt;I get&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The &amp;amp;quot;GetAllByMany&amp;amp;quot; operation failed&lt;/P&gt;&lt;P&gt;Using the command&lt;/P&gt;&lt;P&gt;curl --cert client.pem --insecure --key client_key.pem https://localhost:14242/qrs/dataconnection/many?xrfkey=0123456789abcdef --header "x-qlik-xrfkey: 0123456789abcdef" --header "X-Qlik-User: UserDirectory=internal;UserId=sa_repository" -X POST --data-binary "@d.json" -H "Content-Type: application/json"&lt;/P&gt;&lt;P&gt;and the json file generated by&amp;nbsp; "/qrs/dataconnection/full"&lt;/P&gt;&lt;P&gt;The command works if I set empty customProperties in my json file to&lt;/P&gt;&lt;P&gt;&amp;nbsp; "customProperties": []&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Matteo&lt;/P&gt;</description>
      <pubDate>Sun, 15 Mar 2020 13:13:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Add-an-existing-custom-property-to-an-app-via-qrs/m-p/1684706#M12491</guid>
      <dc:creator>matteoredaelli</dc:creator>
      <dc:date>2020-03-15T13:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Add an existing custom property to an app via qrs</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Add-an-existing-custom-property-to-an-app-via-qrs/m-p/1684762#M12493</link>
      <description>&lt;P&gt;It goes wrong also with insert and then update:&lt;/P&gt;&lt;P&gt;1. I was able to create correctly the object without custom properties.&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl --cert certificates/prd/client.pem --insecure --key certificates/prd/client_key.pem https://localhost:142curl --cert certificates/prd/client.pem --insecure --key certificates/prd/client_key.pem https://localhost:14242/qrs/dataconnection/many?xrfkey=0123456789abcdef --header "x-qlik-xrfkey: 0123456789abcdef" --header "X-Qlik-User: UserDirectory=internal;UserId=sa_repository" -X POST --data-binary "@d.json" -H "Content-Type: application/json"&lt;/P&gt;&lt;P&gt;2. using the above reponse I added customProperties and I tried a PUT request to update the object&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl --cert certificates/prd/client.pem --insecure --key certificates/prd/client_key.pem https://localhost:14242/qrs/dataconnection/aaa9fa78-826f-4eac-8731-e84aeeb18b19?xrfkey=0123456789abcdef --header "x-qlik-xrfkey: 0123456789abcdef" --header "X-Qlik-User: UserDirectory=internal;UserId=sa_repository" -X PUT --data-binary "@dd-update.json" -H "Content-Type: application/json"&lt;/P&gt;&lt;P&gt;But the output is:&lt;/P&gt;&lt;P&gt;The &amp;amp;quot;Update&amp;amp;quot; operation failed&lt;/P&gt;</description>
      <pubDate>Sun, 15 Mar 2020 12:47:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Add-an-existing-custom-property-to-an-app-via-qrs/m-p/1684762#M12493</guid>
      <dc:creator>matteoredaelli</dc:creator>
      <dc:date>2020-03-15T12:47:20Z</dc:date>
    </item>
  </channel>
</rss>

