Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi, Currently I am trying to get/add collection level visibility permissions for Media.
code :
result = Resources["CollectionFunctions"].GetCollectionVisibilityPermissions({
collectionName: "Media"
});
If I try to execute I am getting error like : Message :: Collection [Media does not exist - See Script Error Log for more details.
Thanks in advance..
Solved! Go to Solution.
I got an solution from this post -> https://community.ptc.com/t5/ThingWorx-Developers/ThingWorx-Entity-Collection-Types-Full-List/td-p/683987 for media collection terminology should be "MediaEntities" and its working fine for me.
for ref:
case "Projects":
case "Things" (valid for "Wiki", "Blog", "ValueStream", "Stream", "DataTable", "IndustrialConnection", "IntegrationConnector")
case "ThingTemplates":
case "ThingShapes":
case "DataShapes":
case "ModelTags":
case "Networks":
case "Mashups" (valid for "Master", "MashupTemplate", "Gadget")
case "Dashboards":
case "Menus":
case "MediaEntities":
case "StyleDefinitions":
case "StyleThemes":
case "StateDefinitions":
case "DataTags":
case "PersistenceProviders":
case "Groups":
case "Users":
case "Organizations":
case "ApplicationKeys":
case "DirectoryServices":
case "Authenticators":
case "LocalizationTables":
case "Resources":
case "Subsystems":
Hope, This will help for someone, someday
I got an solution from this post -> https://community.ptc.com/t5/ThingWorx-Developers/ThingWorx-Entity-Collection-Types-Full-List/td-p/683987 for media collection terminology should be "MediaEntities" and its working fine for me.
for ref:
case "Projects":
case "Things" (valid for "Wiki", "Blog", "ValueStream", "Stream", "DataTable", "IndustrialConnection", "IntegrationConnector")
case "ThingTemplates":
case "ThingShapes":
case "DataShapes":
case "ModelTags":
case "Networks":
case "Mashups" (valid for "Master", "MashupTemplate", "Gadget")
case "Dashboards":
case "Menus":
case "MediaEntities":
case "StyleDefinitions":
case "StyleThemes":
case "StateDefinitions":
case "DataTags":
case "PersistenceProviders":
case "Groups":
case "Users":
case "Organizations":
case "ApplicationKeys":
case "DirectoryServices":
case "Authenticators":
case "LocalizationTables":
case "Resources":
case "Subsystems":
Hope, This will help for someone, someday