Forum Discussion
eli_donahue
8 years agoCommunity Manager
Hi Ahmed,
You can promote an item in code using the promote() method. Just pass a parameter with the name of the state you want to promote the item to. This will send a request to the server to promote the item and return the response. Note that the promote method does not update the context item itself.
Eli
Eli Donahue Aras Labs Software Engineer
Eli Donahue Aras Labs Software Engineer