Page History
...
Expand | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||
The following code will call the Yellowfin web service and list all client organisations within Yellowfin:
The code will return an Array of AdministrationClientOrg objects and This function will list all client organisations available within Yellowfin.
The response returned will contain these parameters:
|
Expand | ||
---|---|---|
| ||
The following code will call the Yellowfin web service and get the specified client organisation within Yellowfin:
The code will return an AdministrationClientOrg object in |
...
title | CREATECLIENT |
---|
...
This function will retrieve details for a specified client organisation within Yellowfin |
...
Code Block |
---|
AdministrationServiceRequest rsr = new AdministrationServiceRequest();
AdministrationServiceResponse rs = null;
AdministrationClientOrg aco = new AdministrationClientOrg();
aco.setClientName("CLIENTNAME");
aco.setClientReferenceId("CLIENTREFERENCEIDHERE");
aco.setTimeZoneCode("AUSTRALIA/SYDNEY");
aco.setDefaultOrg(false);
rsr.setLoginId(this.username);
rsr.setPassword(this.password);
// This is the primary organisation
rsr.setOrgId(new Integer(1));
rsr.setFunction("CREATECLIENT");
rsr.setClient(aco);
rs = AdministrationService.remoteAdministrationCall(rsr);
|
The code will return SUCCESS
in rs.getStatusCode()
, otherwise it will return an error explaining why the process failed.
...
title | DELETECLIENT |
---|
The following code will call the Yellowfin web service and delete the specified client organisation within Yellowfin:
...
.
These are the parameters that you need to set in the AdministrationClientOrg object:
The response returned will contain these parameters:
|
Expand | ||
---|---|---|
| ||
The following code will call the Yellowfin web service and create the specified client organisation within Yellowfin:
|
...
|
...
The code will return |
...
title | UPDATECLIENT |
---|
...
The function will create the specified client organisation |
...
Code Block |
---|
AdministrationServiceRequest rsr = new AdministrationServiceRequest();
AdministrationServiceResponse rs = null;
AdministrationClientOrg aco = new AdministrationClientOrg();
aco.setClientName("CLIENTNAME");
aco.setClientReferenceId("CLIENTREFERENCEIDHERE");
aco.setTimeZoneCode("AUSTRALIA/SYDNEY");
aco.setDefaultOrg(false);
rsr.setLoginId(this.username);
rsr.setPassword(this.password);
// This is the primary organisation
rsr.setOrgId(new Integer(1));
rsr.setFunction("UPDATECLIENT");
rsr.setClient(aco);
rs = AdministrationService.remoteAdministrationCall(rsr);
|
The code will return SUCCESS
in rs.getStatusCode()
, otherwise it will return an error explaining why the process failed.
Expand | ||
---|---|---|
| ||
The following code will call the Yellowfin web service and list all users belonging to the specified client organisation within Yellowfin:
The code will return an Array of AdministrationPerson objects in |
...
in Yellowfin.
These are the parameters that you need to set in the AdministrationClientOrg object:
The response returned will contain these parameters:
|
Expand | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service and delete the specified client organisation within Yellowfin:
The code will return This function will delete the specified client organisation in Yellowfin.
These are the parameters that you need to set in the AdministrationClientOrg object:
The response returned will contain these parameters:
|
Expand | |||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service and update the specified client organisation within Yellowfin:
The code will return The following code will call the Yellowfin webservice and update the specified client organisation within Yellowfin.
These are the parameters that you can set in the AdministrationClientOrg object:
The response returned will contain these parameters:
|
Expand | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service and list all users belonging to the specified client organisation within Yellowfin:
The code will return an Array of AdministrationPerson objects in This function will list all Yellowfin users belonging to the specified client organisation in Yellowfin.
These are the parameters that you need to set in the AdministrationClientOrg object:
The response returned will contain these parameters:
|
Expand | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service and list all client organisations accessible by a specified user within Yellowfin:
The code will return an Array of AdministrationClientOrg objects in
These are the parameters that you need to set in the AdministrationClientOrg object:
The response returned will contain these parameters:
|
Expand | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service and add access to a specified client organisation for a specified user within Yellowfin:
The code will return This function will add access to a specified client organisation for a specified user win Yellowfin.
These are the parameters that you need to set in the AdministrationPerson and AdministrationClientOrg objects:
The response returned will contain these parameters:
|
Expand | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service and remove access to a specified client organisation for a specified user within Yellowfin:
The code will return This function will remove access to a specified client organisation for a specified user in Yellowfin.
These are the parameters that you need to set in the AdministrationPerson and AdministrationClientOrg objects:
The response returned will contain these parameters:
|
Expand | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||
This function will check if a specified report is in a specified user's favourites list in Yellowfin.
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Expand | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service and add a specified report to a specified user's favourites list:
The code will return This function will add a specified report to a specified user's report favourites list.
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Expand | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service and remove a specified report to a specified user's favourites list:
The code will return This function will remove a specified report to a specified user's report favourites list.
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Expand | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||
This function will return all avatar images of specified users within Yellowfin:
The response returned will contain these parameters:
|
Expand | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||
This function will set the avatar image of the specified user's profile within Yellowfin:
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Expand | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
This function will reload the specified Org Reference Codes within Yellowfin.
The response returned will contain these parameters:
|
Expand | ||
---|---|---|
|
...
The following code will call the Yellowfin web service and |
...
clear the geometry cache in Yellowfin:
|
...
|
...
|
...
|
...
|
...
|
...
The code will return The function will clear the geometry cache in Yellowfin.
The response returned will contain these parameters:
|
Expand | ||
---|---|---|
|
The code will return an Array of AdministrationClientOrg objects in rs.getClients()
and SUCCESS
in rs.getStatusCode()
, otherwise it will return an error explaining why the process failed.
...
The following code will call the Yellowfin web service and |
...
remove a view's cache in Yellowfin:
|
...
|
...
|
...
|
...
|
...
|
...
The code will return This function will remove a view's cache in Yellowfin.
The response returned will contain these parameters:
|
Expand | ||
---|---|---|
|
The code will return SUCCESS
in rs.getStatusCode()
, otherwise it will return an error explaining why the process failed.
...
The following code will call the Yellowfin web service and remove |
...
a report's cached definitions in Yellowfin:
|
...
|
...
The code will return
The response returned will contain these parameters:
|
Expand | ||
---|---|---|
|
The code will return SUCCESS
in rs.getStatusCode()
, otherwise it will return an error explaining why the process failed.
...
title | ISREPORTFAVOURITE |
---|
...
The following code will call the Yellowfin web service and |
...
remove a dashboard's cached definitions in Yellowfin:
|
...
|
...
|
...
The code will return
The response returned will contain these parameters:
|
Expand | ||
---|---|---|
|
The code will return SUCCESS
in rs.getStatusCode()
, otherwise it will return an error explaining why the process failed.
...
The following code will call the Yellowfin web service and |
...
delete a |
...
report in Yellowfin:
|
...
|
...
|
...
|
...
|
...
|
...
|
...
The code will return |
...
title | SAVEPERSONFAVOURITE |
---|
...
title | REMOVEPERSONFAVOURITE |
---|
...
title | LISTPERSONFAVOURITES |
---|
...
title | GETAVATARS |
---|
...
title | SETAVATARIMAGE |
---|
...
title | RELOADCODES |
---|
...
The response returned will contain these parameters:
|
Expand | ||
---|---|---|
|
...
The following code will call the Yellowfin web service and |
...
delete a view in Yellowfin:
|
...
|
...
|
...
The code will return
The response returned will contain these parameters:
|
Expand | |
---|---|
|
...
| |
The following code will call the Yellowfin web service and |
...
delete a data source in Yellowfin:
|
...
|
...
|
...
|
...
|
...
|
...
The code will return SUCCESS
in rs.getStatusCode()
, otherwise it will return an error explaining why the process failed.
...
The code will return {
The response returned will contain these parameters:
|
Expand | ||
---|---|---|
|
...
The following code will call the Yellowfin web service and |
...
delete a dashboard tab in Yellowfin:
|
...
|
...
|
...
|
...
|
...
The code will return SUCCESS
in rs.getStatusCode()
, otherwise it will return an error explaining why the process failed.
...
The code will return
The response returned will contain these parameters:
|
Expand | ||
---|---|---|
|
...
The following code will call the Yellowfin web service and |
...
reload the licence definitions in Yellowfin:
|
...
|
...
|
...
|
...
|
...
The code will return
The response returned will contain these parameters:
|
Expand | |
---|---|
|
...
| |
The following code will call the Yellowfin web service and |
...
close the specified data source's connection pool in Yellowfin:
|
...
|
...
|
...
|
...
|
...
The code will return SUCCESS
in rs.getStatusCode()
, otherwise it will return an error explaining why the process failed.
The code will return
The response returned will contain these parameters:
|
Expand | ||
---|---|---|
|
...
The following code will call the Yellowfin web service and |
...
flush the specified filter's filter cache in Yellowfin:
|
...
|
...
|
...
The code will return SUCCESS
in rs.getStatusCode()
, otherwise it will return an error explaining why the process failed.
The code will return
The response returned will contain these parameters:
|
Expand | ||
---|---|---|
|
...
The following code will call the Yellowfin web service and |
...
approve a |
...
report in Yellowfin via the expert approval process:
|
...
|
...
|
...
|
...
|
...
|
...
The code will return |
...
|
...
an error explaining why the process failed.
The response returned will contain these parameters:
|
Expand | ||
---|---|---|
|
...
The following code will call the Yellowfin web service and |
...
obtain all exportable content within Yellowfin:
|
...
|
...
|
...
|
...
|
...
The code will return an Array of ContentResource objects in |
|
...
explaining why the process failed.
The response returned will contain these parameters:
|
Expand | |
---|---|
|
...
| |
The following code will call the Yellowfin web service and |
...
obtain dependencies for a specific Yellowfin artifact:
|
...
The code will return an Array of ContentResource objects in |
Expand | ||
---|---|---|
| ||
The following code will call the Yellowfin web service and close the specified data source's connection pool in Yellowfin:
The code will return |
...
This function will obtain dependencies for a specific Yellowfin artifact. Note, you can execute the GETCONTENT webservices call to retrieve all exportable content metadata first. This comes in the form of an array of ContentResource objects which can be then used in this function call to retrieve their respective dependencies.
These are the parameters that you need to set in the ContentResource object:
The response returned will contain these parameters:
|
Expand | ||
---|---|---|
|
...
The following code will call the Yellowfin web service and |
...
export the specified |
...
artifacts within Yellowfin:
|
...
|
...
|
...
|
...
|
...
The code will return an Array of ReportBinaryObjects objects in |
...
the process failed. This function will export the specified artifacts within Yellowfin. Note, you can execute the GETCONTENT webservices call to retrieve all exportable content metadata first.
These are the parameters that you need to set in the ContentResource object:
The response returned will contain these parameters:
|
Expand | ||
---|---|---|
|
Expand | ||
---|---|---|
| ||
The following code will call the Yellowfin web service and approve a report in Yellowfin via the expert approval process:
The code will return |
...
The following code will call the Yellowfin web service and |
...
read a Yellowfin import file, returning the objects to be imported:
|
...
The code will return an Array of ContentResource objects in |
...
in Refer to This function will read a Yellowfin XML import file and return a list of objects that can be imported into the application. This function will be expecting a Base64 encoded XML file as input.
The response returned will contain these parameters:
|
Expand | ||
---|---|---|
|
Expand | ||
---|---|---|
| ||
The following code will call the Yellowfin web service and obtain dependencies for a specific Yellowfin artifact:
The code will return an Array of ContentResource objects in |
...
The following code will call the Yellowfin web service and |
...
validate the |
...
Yellowfin import objects. This function usually follows after the GETIMPORTCONTENT web services call:
|
...
|
...
|
...
|
...
|
...
The code will return an Array of |
...
ImportIssue objects in |
...
|
...
the process failed. Refer to This function will validate a list of Yellowfin import objects. This function usually follows after the GETIMPORTCONTENT webservices call, where it reads a Yellowfin XML import file and returns a list of objects that can be imported into the application. In this function, it performs a validation process for every object in that list. Any issues encountered during the validation process is returned as ImportIssue objects in the response.
The response returned will contain these parameters:
|
Expand | ||
---|---|---|
|
Expand | ||
---|---|---|
| ||
The following code will call the Yellowfin web service and read a Yellowfin import file, returning the objects to be imported:
The code will return an Array of ContentResource objects in Refer to |
...
The following code will call the Yellowfin web service and |
...
import the specified Yellowfin import objects |
...
into the application:
|
...
|
...
|
...
|
...
The code will return |
...
Refer to
| |||||||||||||||||||||||
| |||||||||||||||||||||||
| |||||||||||||||||||||||
The response returned will contain these parameters:
The following code will call the Yellowfin web service and import the specified Yellowfin import objects into the application:
The code will return ws_admin_import.jsp in your Yellowfin web services directory Yellowfin\development\examples\web services for a more detailed example of how this function would work. |
horizontalrule |
---|
Styleclass | ||
---|---|---|
| ||