This article applies to the Java versions of VSN applications.
You can jump directly to a particular place in the chart or listing by specifying a longer URL.
Opening a Structure (without children expanded)
The format of the URL to open the organisational chart at a specific OU is:
http://server:port/appname/defaultredirect.jsp?PageName=ChartAppWithPhone.jsp&Request=splitdirectory%3Dtrue%26defaultredirect%3Dtrue%26action%3Dviewinorgchart%26subscribedAction%3DInit%26key%3Dobjectid%26orgchart%3Dorgchartname
Parameter |
Variable |
Definition |
Example |
---|---|---|---|
|
server:port |
Enter your own server, port separated by a colon |
orgchartserver:50000 |
|
appname |
Enter the VSN application name |
OrgChart |
key |
objectid |
Enter the ObjectID (from SAP) of the org unit you want to start at |
50000001 |
orgchart |
orgchartname |
Enter the org chart name (from orgchartconfiguration) that you wish to open |
SAPOrgUnitOrgChart |
Hence the URL created with the above examples would be:
http://orgchartserver:50000/OrgChart/defaultredirect.jsp?PageName=ChartAppWithPhone.jsp&Request=splitdirectory%3Dtrue%26defaultredirect%3Dtrue%26action%3Dviewinorgchart%26subscribedAction%3DInit%26key%3D50000001%26orgchart%3DSAPOrgUnitOrgChart
Opening a Structure (with children expanded)
The format of the URL to open the organisational chart at a specific OU is:
http://server:port/appname/defaultredirect.jsp?PageName=ChartAppWithPhone.jsp&Request=splitdirectory%3Dtrue%26defaultredirect%3Dtrue%26action%3Dviewinorgchartgrpexpand%26subscribedAction%3DInit%26key%3Dobjectid%26orgchart%3Dorgchartname%26groupexpandon%3Dobjectid
Parameter |
Variable |
Definition |
Example |
---|---|---|---|
|
server:port |
Enter your own server, port separated by a colon |
orgchartserver:50000 |
|
appname |
Enter the VSN application name |
OrgChart |
key |
objectid |
Enter the ObjectID (from SAP) of the org unit you want to start at |
50000001 |
orgchart |
orgchartname |
Enter the org chart name (from orgchartconfiguration) that you wish to open |
SAPOrgUnitOrgChart |
Hence the URL created with the above examples would be:
http://orgchartserver:50000/OrgChart/defaultredirect.jsp?PageName=ChartAppWithPhone.jsp&Request=splitdirectory%3Dtrue%26defaultredirect%3Dtrue%26action%3Dviewinorgchartgrpexpand%26subscribedAction%3DInit%26key%3D50000001%26orgchart%3DSAPOrgUnitOrgChart%26groupexpandon%3D50000001
Opening a Listing (Search)
Similarly you can open the application to start a particular search:
http://server:port/appname/defaultredirect.jsp?PageName=ChartAppWithPhone.jsp&Request=splitdirectory%3Dtrue%26action%3Dsetdirectory%26directoryname%3Dlistingname%26subscribedAction%3DInit
Parameter |
Variable |
Definition |
Example |
---|---|---|---|
|
server:port |
Enter your own server, port separated by a colon |
orgchartserver:50000 |
|
appname |
Enter the VSN application name |
OrgChart |
directoryname |
listingname |
Enter the directory name (from directoryconfiguration) that you wish to open |
SAPPositionEmployeeSearch |
http://orgchartserver:50000/OrgChart/defaultredirect.jsp?PageName=ChartAppWithPhone.jsp&Request=splitdirectory%3Dtrue%26action%3Dsetdirectory%26directoryname%3DSAPPositionEmployeeSearch%26subscribedAction%3DInit
Furthermore, you can run an initial search by adding 3 further parameters:
http://server:port/appname/defaultredirect.jsp?PageName=ChartAppWithPhone.jsp&Request=splitdirectory%3Dtrue%26action%3Dsetdirectory%26directoryname%3Dlistingname%26subscribedAction%3DInit%26searchfield%3dfieldname%26searchoperator%3doperator%26searchvalue%3dinputvalue%26filter%3d
Parameter |
Variable |
Definition |
Example |
---|---|---|---|
searchfield |
fieldname |
Name of the field in the search data element that you want to search using |
FULL_NAME |
searchoperator |
operator |
Operator to use (as per name or operator in searchcontrol configuration) |
contains |
searchvalue |
inputvalue |
Search criteria you want to use |
sm |
This example from OrgChart 3.0 SP3 Live_RFC build for employee search for name contains "sm":
http://orgchartserver:50000/OrgChart/defaultredirect.jsp?PageName=ChartAppWithPhone.jsp&Request=splitdirectory%3dtrue%26directoryname%3dEmployee%26action%3dsetbookmark%26subscribedAction%3dInit%26searchfield%3dFULL_NAME%26searchoperator%3dcontains%26searchvalue%3dsm%26filter%3d
You can also specify a specific language using the selected language parameter and code (e.g. EN, DE):
http://server:port/appname/defaultredirect.jsp?PageName=ChartAppWithPhone.jsp&selectedLanguage=DE&Request=splitdirectory%3Dtrue%26action%3Dsetdirectory%26directoryname%3Dlistingname%26subscribedAction%3DInit