Has anyone been successful creating a calendar (CalendarRunDays) type schedule using CSP (COM SDK) scripting? I think it is schedule Type=8.
I have been able to use the sample code to retrieve calendar type schedules actually scheduled through the CMC (such as run Tue & Thu or similar). This shows the type=8 and there are CalendarRunDays / SI_DAYS_OF_WEEK items when I use the Query Builder to look at the scheduling (one for each calendar, such as 1 for Tue and another for Thu). I can schedule using CSP code as daily, monthly, etc., and I can retrieve calendar-type schedules, but I have not been able yet to actually create a calendar-type schedule using code.
If anyone has any sample code it would be very helpful. I think I am having some syntax errors which is not adding the schedule.
Thanks!
I have been able to use the sample code to retrieve calendar type schedules actually scheduled through the CMC (such as run Tue & Thu or similar). This shows the type=8 and there are CalendarRunDays / SI_DAYS_OF_WEEK items when I use the Query Builder to look at the scheduling (one for each calendar, such as 1 for Tue and another for Thu). I can schedule using CSP code as daily, monthly, etc., and I can retrieve calendar-type schedules, but I have not been able yet to actually create a calendar-type schedule using code.
If anyone has any sample code it would be very helpful. I think I am having some syntax errors which is not adding the schedule.
Thanks!