using ?readdesign / ?readviewentries , is there any way to know whether that view is a calendar view ??
Subject: Calendar View - ?readdesign / ?readviewentries
No, but surely you have some means of remembering what you asked for? The requesting application should know what it’s asking for.
Subject: RE: Calendar View - ?readdesign / ?readviewentries
any formulas equivalent to the script “view.IsCalendar” …bcos i dont want to use a webqueryopen agent to check whether the view is calendar or not …
Subject: RE: Calendar View - ?readdesign / ?readviewentries
No, but you should know the view type before making the request. (I can’t imagine an application scenario in which you would want to grab views randomly. What about “treat as HTML” views that contain only code? How do you handle them?)
If you aren’t willing to do that declaratively in your XML application, then use a profile document in the Notes database that lists views and types. If you’re worried that someone will create views without recording the change, then you can have a scheduled agent update the profile.