We have integrated advanced Gantt using CRUD manager to sync data and facing issues with baselines sync. Could you please clarify the below question?
Does CRUD Manager supports add/edit/delete for baselines? So for a task, if the baseline is added or modified is it going to Sync? Does the response below look good in that case
Yes, something like this, but without "$PhantomId", baselines has only id. You can review request format after you added new baseline to see data structure.
Yes, something like this, but without "$PhantomId", baselines has only id. You can review request format after you added new baseline to see data structure.
Here is the scenario
I have a Project plan with 5 tasks and baselines dates
I added 2 new tasks and again set baselines for tasks
Triggered Sync
Tasks are getting synced with newly generate ids(CRUD Manager is handling them automatically) but for baselines, how can I get an Id for newly generated baselines as you mentioned we don't have "$PhantomId"
If I pass Id for baselines in response, is it going to automatically replace it with first value in array?
Re: GANTT - CRUD Manager
Posted: Wed Feb 08, 2023 12:44 pm
by alex.l
You need to check on server side, if you didn't have baseline with that id, then it's new.
If I pass Id for baselines in response, is it going to automatically replace it with first value in array?
No, you can use your ids. All data you returned from server will be used.