2025 Jan 06 1:32 PM - edited 2025 Jan 06 1:41 PM
I am trying to retrieve the calendar tasks and adding them into a public dimension table to later on display in a story. I am facing an issue when adding the Status. Any suggestions?
Also trying casting it but still the same issue
Code used below:
var id1 = CalendarIntegration_1.getCalendarEventById('6CA025801922715B2FCA12A37C6CE664').getId();
var description1 = CalendarIntegration_1.getCalendarEventById('6CA025801922715B2FCA12A37C6CE664').getDescription();
var desc1 = CalendarIntegration_1.getCalendarEventById('6CA025801922715B2FCA12A37C6CE664').getName();
var stat1 = CalendarIntegration_1.getCalendarEventById('6CA025801922715B2FCA12A37C6CE664').getStatus();
var strstat1 = cast(Type.string, stat1);
var member1 = cast(Type.PlanningModelMember,{id:id1, description: description1, properties:{TechnicalID: id1, Desc: desc1, Status: stat1}});
var result1 = PlanningModel_1.createMembers("Task", member1);
Request clarification before answering.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.