How to delete an list item that is specified via REST API?
We are trying to figure out how to delete a item in a list that is specified via the REST API.
I have figured out how to create a control module that selects items in a list via a line item formula, create a Delete action that uses this control module, then invoke the Delete action from a REST client. (Each line item is uniquely identified by name.)
The problem is that we want our REST client to be able to specify the item(s) to delete. We do not want to have to manually modify the formula in the control module in the Anaplan UI every time that we want to modify our selections.
The closest that I have gotten to a solution is to export the control module line item in the module in blueprint mode to a file on my laptop, modify the formula in the file, then upload and import the modified file in blueprint mode. This creates an Action that our REST client could perhaps invoke, but the import does not change the line item formula.
Does anyone have any ideas that could help?
Comments
-
Thank you for your response, PaulRitner. I am sorry for taking this long to acknowledge it.
After posting my request, I figured out on my own that this approach would work. I was relieved that your answer corroborated what I tried.
In the end, I altered my solution to use placeholder items that are inserted in the target list instead of creating a separate list. Each placeholder item name started with "d" followed by the index of the item to delete. This required two line items, one to delete the target items and another to delete the placeholders.
0
Categories
- All Categories
- 2.3K Anaplan Community
- Academy
- Anaplan Talent Builder
- Model Design Course
- The Anaplan Way
- Archive
- 2 Idea exchange
- 62 Enterprise Scale
- 1.1K Extensibility
- 21 Intelligence
- 1.6K Planning & Modeling
- 331 Security
- Community Connections
- Connections
- Experiences
- Groups
- Personas
- Employees
- CS Toolkit
- Customer Care Center
- Forums
- Academy & Training
- Community Feedback & Updates
- Japan
- Anaplan Community Japan
- Anaplan Community Japan Knowledge Base
- HyperCare Japan
- JP-Central
- Support-Japanese
- Partners
- Partner Leadership Council
- Partner Product Council
- 724 Platform
- Anapedia
- App Hub
- Centers Of Excellence
- Extensions
- Planual
- Platform Updates
- 724 User Experience
- Profile Builder
- Resources
- Anaplan Advocates
- Anaplan Live!
- Community
- Community Advancement
- Community Connections
- Partner Program
- The Official Master Anaplanner Program
- Videos
- Welcome to the Anaplan Community!
- Success Central
- Support
- Case Portal Link
- Common Support Questions
- HyperCare Redirect
- Known Issues and Workarounds
- Support test page
- SupportFAQ
- Survey
- 2 Training Day Takeaways