Assigning Data Usage Licensing Agreements (Policy) Through One Desktop
Hello everyone! I currently have a large group of catalog items that I am trying to assign a Data Usage Licensing Agreement too. I know that I can manually add these through Atacama online, however because of the large number I was wondering if it would be possible to create a plan to do this for me? I have all the catalogItem ids already compiled I simply do not know how to assign the policy.
While I do see the option to write to policy, I cant seem to set the parent as a catalog item. Any help would be appreciated.
Thank you!!!
Page 1 / 1
Hello @apejko,
can you please explain what is the Data Usage Licensing Agreement? I don’t see it in the default metadata model, so it is most likely something custom. Depending on what type of this property is, the way how to populate it from the ONE Desktop will differ.
First of all, you will have to update the entity catalogItem (Entity Type = catalogItem) if this property is linked to it. Then if it’s some standard simple string, you can populate the values under Columns:
If the property is some object (either reference or embedded), the situation is more complicated. Could you provide a screenshot of the metadata model for the catalogItem to see what is the type of the property?
Thank you.
Kind regards,
Anna
Hi @anna.spakova thank you for the response. These are what im referring too when I say Data usage license agreement:
They are referred to as a policy and are located in the knowledge catalog under Data usage license management on our enviroment:
Here is the property information of the Data Usage License Agreement in relation to the catalogItem:
Hello @anna.spakova to give you bit of more context, this processing is within the Policy Management functionality.
Hello,
thank you both for clarification and the screenshots, if I understood the screenshots right, you have the policies as Array of recerences inside the catalog item. If that’s the case, you need to use a special step called ONE Metadata Reference Array Writer and configure it like this (please adjust names of the fileds where you store the IDs):
The entity you are modifying is the catalog Item. Id Column Name is the column with the ID of the catalog item. The property is per your screenshot the dataUsageLicenseAgreement (=the array of references) and finaly, the Target Id Column Name is the ID of the policy you want to add into the property.
Does it make sense? Please give it a try and let me know if you run into any issues :)