Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hi,
I want to remove a Data Shape through a function call, please let me know the possibilities.
Thank you ,
Janakiraman P
Unfortunately there isn't a service for this, but you could do this with a REST API Delete call.
Here's what I recorded from composer
Hi, Thank you for the reply.
I was trying to create one Data Shape thru services, datashape having a infotable field and am attaching a datashape along with the infotable. However new datashape is created with infotable as field but without datashape attached with it.
Please find my code below,
also refer,
var fields = { dataShape: {"fieldDefinitions":
{"fieldName1":
{"name":"info",
"aspects":{},
"description":"",
"baseType":"INFOTABLE",
"dataShape":"TestDS6",
"ordinal":1}
}
},
rows: []
};
var params = {
name: 'TestDS7' /* STRING */,
description: undefined /* STRING */,
fields: fields /* INFOTABLE */,
tags: undefined /* TAGS */
};
// no return
Resources["EntityServices"].CreateDataShape(params);
suggest a solution for me.
Janakiraman P