This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Nov 7, 2011, 12:19 PM
178 Posts

iNotes calendar controls from Ext. Library - Instructions ?

  • Category: Extension Library
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags: calendar,inotes,Extension Library
  • Replies: 3
Are there instructions available how to use these controls ? calendarview with calendarJsonLegacyService/restService ?
 
In the  most simple setup I would like to display the calendarview control with a local calendar view.
Nov 7, 2011, 2:15 PM
178 Posts
How to open a calendar entry from the view?
Tip: download the extension library database XPagesExt.nsf and look at the xpages:
 
DWA_LocalCalendarView 
DWA_LocalCalendarViewEntry 
 
However in the example database there is no example which event to set when you want to open an entry (I assume onOpenEntry?) and what value to set there. 
 
I followed the examples here: 
and here: 
 
If I try the examples then I get the error:

Error 500

HTTP Web Server: Command Not Handled Exception
 
Can anyone guide me here what code is proper to use? (I want to open the underlying document in read mode) 
Nov 7, 2011, 2:22 PM
178 Posts
Re: iNotes calendar controls from Ext. Library - Instructions ?
 use:
 
var sUnid = items[0].unid;
path = "mydetailsxpagexsp?documentId=" + sUnid + "&action=openDocument";
document.location.href=path;
 
works from  8.5.2...
Apr 24, 2014, 6:00 AM
41 Posts
OnOpenEntry

Hi patrick,

I am using same code in my application and working fine there is no issues .

var path = "";
var sUnid = items[0].unid;
if(dojo.isMozilla || dojo.isWebKit)
{
path=path+"xspaction.xsp?documentId="+sUnid+"&action=editDocument";
}
else
{
path="xspaction.xsp?documentId="+sUnid+"&action=editDocument";
}
document.location.href = path;

 

But i need some help at your side, actully in my calendar data are coming from two forms e.g. x and y  when i click on data then open x form correctly.

But i clicked on y data it is not opening because path is not getting .How to open the other form data in same calendar and same code.

Please modify my code to open the multiple xpage.xsp page in single calendar

var path = "";
var sUnid = items[0].unid;
if(dojo.isMozilla || dojo.isWebKit)
{
path=path+"xspaction.xsp?documentId="+sUnid+"&action=editDocument";
}
else
{
path="xspaction.xsp?documentId="+sUnid+"&action=editDocument";
}
document.location.href = path;

 

 

Thanks & Regards

Ajeet Kr Gupt

 

 

 

 


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal