I’m trying to be able to supply a script to add some CustomProperties and I was wondering so that I don’t have to reinvent the wheel, if anyone has a quick method to building what is required to set in the BODY of the post.
Let’s say I have some different custom properties I want to add:
corp.building = “Some Building Name”
corp.department = “Some Department Name”
corp.role = “Some Role”
Can I wrap all these up into a single array/dictionary to pass into the “customProperties” attribute in the “body” of the post?
The idea could be I feed a CSV file into the script and the amount of customProperties can be 1 or 10 for any given line being processed.
Thanks and let me know if I need to shed more light on what I’m expecting to happen.