Академический Документы
Профессиональный Документы
Культура Документы
AN EXTERNAL SOURCE
When you call an Artus component using the Artus Component Server there are different
ways to pass parameters to the component. You can do this modifying the URL for each
component. This is the way you should modify that URL
Use this code with caution, the behavior could change in a future version or service pack, or they could disappear completely . So,
you should be prepared to test all of your applications that rely on this code, every time you make any kind of change to your BITAM
product installation.
November 10, 2008.
Prerequisites
Artus WEB server needs to be installed and configured correctly pointing to a valid license manager.
Your project should already exported and configured to be served on Artus WEB. You should be able to view
the dashboard and the component using the normal view before you can use the component.
Also you need to setup properly the URL where Arts WEB is installed. Go into Designer, open Options
(View >> Options) and change the URL for ArtusWEB.
That is the base URL, copy and paste the URL into an internet browser for performing a test.
You should be seeing an image similar to the one above. That means the component server is working perfectly. If
you cant get to component into the browser maybe you still havent setup your project on Artus WEB server.
Modifying security
By default the URL contains the user and password you were using on the Designer when you get the URL
http://localhost/artus/genvi/componentserver.php?project=ZGkoedaC/GsluGkh_m||&user=CavZNvFdpvIxC6||&pw
d=&stage=I6||&cons=JZ||&comp=J1Ca
You cannot change this user and password so is encrypted, instead you can call the component using active directory
authentication. In order to do that, just add to the end of the URL the text &SSO=1. And because we dont need
the user and password on the URL we can make the URL shorter removing user and password parameters.
http://localhost/artus/genvi/componentserver.php?project=ZGkoedaC/GsluGkh_m||&user=CavZNvFdpvIxC6||&pw
d=&stage=I6||&cons=JZ||&comp=J1Ca&SSO=1
Artus will use the current logged user to call the component. The user should be configured to use LDAP
authentication on Artus.
Description
Sample
1-6
SPI_01, SPD_01
Underscore
8-13
4,5,6
(00000N)
14-21
20081231
You need to specify an initial date or both. Use _AWSep_ to include both on the url. Samples:
Initial date: May, 26 2008
SPI_01_00000420080526
SPI_01_00000420080526_AWSep_SPD_01_00000420080613
(not available)
Description
Sample
DIM_
DIM_
XX
YY
26
ZZ
If you need to pass several dimension filters to the component use _AWSep_ to separate each filter on the URL.
Use _AWDim_ to include several values for the same dimension filter (you need to repeat the complete string)
Sample:
We have a cube called Sales, we want to call a component passing 2 dimension filters as a parameters. The first
one Region with a value of North (Region ID = 2), the second one State with values Boston and Chicago
(State ID = 2,3).
First we need to get the CubeID value.
select * from si_concepto where nom_concepto = 'sales'
Result:
cla_concepto
-----------3
Result:
consecutivo
-----------25
Result:
consecutivo
-----------12