Posting Custom Item Types to Specific folder
Hello,
I am struggling to post a custom item type to a specific folder. My python formatting looks like this:
it isn't posting to the space or the specified folder, am I missing an input?
Страница, которую вы ищете, не переведена, но у нас есть другие материалы на русском языке и служба поддержки на русском языке.
Чем мы можем помочь?
Learn. Share. Discuss.
Hello,
I am struggling to post a custom item type to a specific folder. My python formatting looks like this:
it isn't posting to the space or the specified folder, am I missing an input?
Folllowing List for Post: Posting Custom Item Types to Specific folder
[this list is visible for admins and agents only]
sorry, there is a comma after the parent ID folder id.
Hi Daniel Elliott, thanks for reaching out! I've passed your question to our API experts, they will reach out to you to help 🙂 Please feel free to share the solution here after you speak with them. And let me know if there's anything else I can help you with!
Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover
Lisa Wrike Team member Become a Wrike expert with Wrike Discover
Daniel Elliott It should be parentId not parentID. not sure it would help but try it. if no good, raise a ticket.
Miron Mizrahi Community Team at Wrike Wrike Product Manager Узнайте о самых популярных функциях Wrike и советах по его использованию
Miron Mizrahi Wrike Team member Узнайте о самых популярных функциях Wrike и советах по его использованию
Thanks Miron Mizrahi. I actually figured out it was caused by trying to post to a parentId of a project. I switched it to a folder and it worked.
My next hang up is not being able to pass customFields to a custom item type. see below.
Daniel Elliott take a look at https://developers.wrike.com/api/v4/custom-item-types/#create-work-from-custom-item-type. you cannot update CFs when creating work item. you need to first create the item, which will return the item ID and then you use the relevant endpoint (task or project) to update the item. In the future I recommend you always refer to the developer site to see what the syntax is. I have been doing this for a while and I still always double check.
Miron Mizrahi Community Team at Wrike Wrike Product Manager Узнайте о самых популярных функциях Wrike и советах по его использованию
Miron Mizrahi Wrike Team member Узнайте о самых популярных функциях Wrike и советах по его использованию