Creating placement rules using the API?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Creating placement rules using the API?

L3 Networker

I have quite a few placement rules that I would like to create, but the UI is kind of cumbersome to do so. I would like to create multiple rules using the API, but I can't find anything specific as to how to do this. Does anyone know how to do this? I can't even find the path they might be stored in.

1 accepted solution

Accepted Solutions

L2 Linker

There is not a specific API call that is designed for this, though technically it can be done using the config/create API endpoint as placement rules are just config objects. There is a specific tree for that these are stored in called "Layout Root" - the path is "\VED\Layout Root\Rules" - if you're comfortable with SQL you can go look at the objects, and their respective attributes to see how you could re-create them with the config call - or use the config/readall api to look at the attributes of an existing placement rule to get an idea of how to structure your API call for creating it.

 

TLDR - its possible, just not straightforward

View solution in original post

1 REPLY 1

L2 Linker

There is not a specific API call that is designed for this, though technically it can be done using the config/create API endpoint as placement rules are just config objects. There is a specific tree for that these are stored in called "Layout Root" - the path is "\VED\Layout Root\Rules" - if you're comfortable with SQL you can go look at the objects, and their respective attributes to see how you could re-create them with the config call - or use the config/readall api to look at the attributes of an existing placement rule to get an idea of how to structure your API call for creating it.

 

TLDR - its possible, just not straightforward

  • 1 accepted solution
  • 44 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!