Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hi Team,
Is there any way to that I can get the list of all the project entities programatically?
Thanks and Regards,
Solved! Go to Solution.
Hi,
Thanks a lot for the reply. Is there any way to set permissions to an entity from services?
You can use setEntityPermission from snippet directly in query. It looks like:
let params = {
allow: undefined /* BOOLEAN */,
name: undefined /* STRING */,
includeDependents: undefined /* BOOLEAN */,
type: undefined /* STRING */,
projectName: undefined /* PROJECTNAME */,
tags: undefined /* TAGS */
};
// no return
Resources["EntityServices"].SetEntityPermission(params);
Regards,
Mohit
Hi @Bhanu_Manoj ,If my response has answered your question, please mark as Accepted Solution, for the benefit of others who may have the same question.