Skip to main content
1-Visitor
April 4, 2016
Question

How to create ACL Domain by Coding?

  • April 4, 2016
  • 1 reply
  • 1996 views

We have 568 products for which we need to create a Custom Product Level Domain (which also has to be associated to particular folder in each product) We are planning to load the rules for them using Loader files. But its not feasible to create 568 custom domains manually.  Is their any way to create it by coding?

1 reply

16-Pearl
April 4, 2016

Hi Prasad,

Can you check if below article helps:

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS72077

Regards,

Bhushan

prathi1-VisitorAuthor
1-Visitor
April 4, 2016

Hi Bhushan,

Thank you for the link. I checked that article. This would be helpful for me to load the rules after the the Custom Domains are created. These loaders don't create a Domain. For eg :

Consider Product A. It has a Default Domain. I want to apply a rule for /Default/Design domain (Design is the custom domain for which i want to load the rules and associate it with a particular folder). So in Loader if I write rules for  <domainName>/Default/Design</domainName> without Design Domain's existence, it would throw error.

So firstly I ll have to create a Domain (Design) then associate it with Folder and the load the rules using these Loader files.

But with my present condition, i ll have to do this all manually. So i am looking for a code which would create these domains under all the products and also associate it with the desired folder.

prathi1-VisitorAuthor
1-Visitor
April 4, 2016

Hi Bhushan,

I read that article again, I guess Step 1 and 2 might help me. I ll try and let you know. The previous reply pertained to Step 3.

Thanks!!

Prasad