Application Setup
Please ensure the latest HR Application is installed on the same system as the Web Service as this implementation will control the provision of information by the Web Service.
QLx
For the webparts to work correctly with QLx, it is required to setup a non-administrative user called REMOTE_HR.
THE SOFTWARE
A Software Portal user must be set in the Connection Manager (jsconnection.exe).
Install the Web Service
Download and unzip QLHRWebService.zip, select setup.exe and follow the instructions of the installation wizard.
There should now be a HRWebService folder in the web site where you installed the web service. Under that folder, there should be a web.config. Make sure that the Jane.Environment value is set to QL for QL-x and JANE for Jane HR.
Install The Web Parts
Download and unzip QLHRWebParts.zip.
From the Command prompt:
cd “C:Program FilesCommon FilesMicrosoft Sharedweb server extensions12BIN”
STSADM.EXE -o enumwppacks
STSADM.EXE -o deletewppack -name QLHRWebParts_$Version$.cab
There are two options available when installing the cab file:
GAC (Global Assembly Cache)
STSADM.EXE -o addwppack -filename $pathToCabFile$ -globalinstall
Bin
If you have multiple Sharepoint sites on the same server, you might want to potentially have a live site and a test site. In this instance, you might only want to update the test site (to test a new version of the cab file). You can therefore install the cab file to a specified site.
STSADM.EXE -o addwppack -filename $pathToCabFile$ -url $urlOfSite$
Configuring the SharePoint web.config
Finally, the following entries will be need to be added/modified in the SharePoint site’s web.config. Typically this would reside in c:inetpubwwwrootwssVirtualDirectories80.
Change Trust Level to Full i.e. <Trust Level=”Full” originURL=”” … /> (This is only required if you installed the cab file to the Bin folder as all DLLs in the GAC are fully trusted)
Under <httpModules> add or uncomment the following line:
<add name=”Session” type=”System.Web.SessionState.SessionStateModule” />
In the appSettings section (this section may need to be added manually). Add the following settings:
<configuration>
…
<appSettings>
<add key=”HRWebService” value=”https://localhost/HRWebService/CallComObject.asmx” />
<!– QLx users need to add the following –>
<add key=”Agresso.QLP.Environment” value=”<PUT_YOUR_CONNECTION_CODE_HERE>” /> <!– QL Administrator – Connection Code –>
<add key=”Agresso.QLP.Qualifier” value=”<PUT_YOU_REMOTE_HR_PASSWORD_HERE>” /> <!– Password for REMOTE_HR user –>
</appSettings>
…
</configuration>