I wonder what's the attributes of schedule object of SBO are supported in EWS.
Now when I create a Digital schedule or Analog schedule object in SBO, I could only call GetValue function to read out the default value-and it is ready-only, not allowed to be written.
However, now I am facing a request: some other system will be as main control system and set the timeline of schedule, SBO is expected to receiving those timeline setting(start time, end time) and updated accordingly.
Is there any way to make it? please advise.
The concept of a Schedule is not one that is part of the EWS Data Model. However, any system which implements EWS can optionally expose more complicated data structures as a ContainerItem (with the appropriate type property) and the properties of that strucutre as nested ValueItems. This is what SBO is doing for the Schedule strucutre. SBO of course decides what properties it wants to expose and whether or not those properties are writeable/forceable or not.
In order to achieve your goals you are going to need an approach other than EWS.
Thanks Mark -
Just to be perfectly clear, there is no possible way to edit schedules from outside workstation? Or Webstation? There is no way to write an extension to do this?? (Forgive my ignorance, still getting my head around extensions...)
Of course there are ways, just not with EWS. It just isn't advertised . I would take a look at the Workstation SDK or the Mongoose.Csp NuGet library to do this. I will mention though, that today there are no code samples that deal with schedules.
As far as I know there really isn't any solid documentation on CSP. Anything using CSP that was developed as part of Smart Connector has used a combination of already developed client code, and reverse engineering to figure out what requests need to look like. (e.g. use wireshark to see what WorkStation sends over the wire and attempt to duplicate it).
Oh. Wow. Ok.. haha.
Thanks! Do you have any example code or projects built using CSP?
The SboEwsRestProvider built into Smart Connector, was built using the CSP Client that was developed for Smart Connector. So if you have as specific example, maybe I can send you a sample of what was done for that. Unfortunately, I don't have anything for Schedules