ā2023-05-24
02:22 PM
- last edited on
ā2024-09-17
01:48 PM
by
Doreena Deng
Is there any way to open Teamwork project with API?
I've managed to do the similar task with local pln files using the APIDo_āOpenID. It's interesting, as the IO::Location could contain both pln and teamwork paths, but I guess in the case of teamwork file it's local? However, when I'm extracting project info, I also have some encoded URI to the teamwork. Also, there is a APIFType_WGProjFile (Teamwork file type) in API_āFTypeID.
And is there any command to forcefully create a PLN backup on the server side?
ā2023-05-24 03:21 PM
PLN backup is created by Archicad and not BIMcloud. Therefore you can't force it to create one, it will always require user input (or a hidden Archicad with an automation of the process, which sounds very cumbersome for me).
NoƩmi Balogh
Senior Community Expert, Admin
ā2023-05-24 07:38 PM - edited ā2023-05-24 07:39 PM
Sure, I understand.
I was talking about some kind of enforcement of launching PLN backup creation. For example, we have an option to run or to cancel such process while sending the changes within teamwork projects, so I was wondering is there any api method to control it:
ā2023-05-25 08:16 AM
You can try using Notification Manager and ACAPI_TeamworkControl_SendChanges
Use the notification manager to run a timer and project open then periodicaly send the changes.
ā2023-05-25 08:30 PM
Good idea.
But how I can force user to confirm backup creation instead of pressing Cancel?
ā2023-05-25 08:33 PM
you control the code of the ok,cancel button, you can make it so that it still saves even if you press cancel.
Or you get a window that says its mandatory. If employee still not comply tell him he can't have pastries from the rest area anymore.
ā2023-05-25 08:34 PM
Thanks, I will try this.