Hi,
Is there a way to get all the Entities based on an 'XYZ' Organization assigned to it?
Thanks,
Solved! Go to Solution.
Hi Shashi,
Firstly, my apologies for the delay in reply.
Does your client use a single Project or small set of Projects to organize their Entities? If so, I believe I have come up with an effective solution. Please see the attached PTC.TS.UpdateOrgVisibility.Thing.It includes a Service called UpdateVisibilityPermissionsByProject. This service accepts the Source Organization, Destination Organization and a list of Projects to search for the Entities on. There are some caveats to mention with this approach:
If this is not feasible because of the potential performance impact or the Entities are strung across too many Projects you may be able to do a full export of all Entities in the system to an XML file using the Import/Export > Export option. Whether or not this is possible depends on two things:
Hopefully this helps.
Hello Shashi,
The answer depends on why you need to do that. For example
/ Constantine
Hi,
@Constantine Thanks for the response. After some time, research, and everything else, I learned that we don't have any workaround. As of now, there is no solution.
Thanks,
Hi Shashi,
I'm curious to learn more about your use case to see if we can come up with a solution. Do any of the use cases proposed by Constantine match what you are trying to do? If so, please help me by confirming which scenario and why the proposed solution may not work. If none of the solutions match, please provide some further details about what you are looking to accomplish and I will be happy to look into it further.
Hi @tmisner ,
The Organisation created in Thingworx is used for the Formlogin. After a couple of years, the Client wants a rename, which makes it impossible to edit the Organisation.
Hundreds of entities have been created, and the Organisation was assigned permissions; now we can't edit them manually one by one.
Therefore, I was looking for a way to get all the entities associated with the Organisation.
Hi Shashi,
Firstly, my apologies for the delay in reply.
Does your client use a single Project or small set of Projects to organize their Entities? If so, I believe I have come up with an effective solution. Please see the attached PTC.TS.UpdateOrgVisibility.Thing.It includes a Service called UpdateVisibilityPermissionsByProject. This service accepts the Source Organization, Destination Organization and a list of Projects to search for the Entities on. There are some caveats to mention with this approach:
If this is not feasible because of the potential performance impact or the Entities are strung across too many Projects you may be able to do a full export of all Entities in the system to an XML file using the Import/Export > Export option. Whether or not this is possible depends on two things:
Hopefully this helps.
Did you find the last response on this post helpful? If so, please mark it as the Accepted Solution for the benefit of others in the community. If you still have questions, please let us know.
Regards.
--Sharon