Manually Configuring the SAS Web Parts

If you install but do not configure the SAS Web Parts by using the SAS Deployment Wizard, you need to manually configure the SAS Web Parts.
To manually configure the SAS Web Parts:
  1. Open the installation-directory\SASHome\SASWebPartsforMicrosoftSharePoint\6.x directory and copy these three files to your Microsoft SharePoint Server:
    • SASWebParts.wsp
    • the Install-SASWebParts.ps1.orig file in the Config\Deployment\Scripts subdirectory
    • the SASWebPartsModule.psm1 file in the Config\Deployment\Scripts subdirectory
  2. Rename the Install-SASWebParts.ps1.orig file to Install-SASWebParts.ps1.
  3. Edit the Install-SASWebParts.ps1 file to specify values for the following variables. To specify a value, replace the text that is surrounded by the @ symbol. For example, change $SiteURL=’@webapp.biwebptsmssp.site.url@’ to $SiteURL=’http://www.sas.com’.
    Note: When you specify a value, remove the @ symbol but leave the single quotation marks.
    Variable Name
    Description
    Required or Optional
    $SiteURL
    the URL for the site where you are installing the SAS Web Parts
    Required
    $WebApp
    the web application where you are installing the SAS Web Parts
    Optional
    If you do not specify this value, the -AllWebApplications option is used during the installation.
    $ServiceURL
    the URL to the SAS Web Parts Service that will be used by the default profile
    Required
    $ServerName
    the machine name for the SAS Metadata Server
    Required
    $Port
    the port for the SAS Metadata Server
    Optional
    If you do not specify this value, 8561 is used.
    $SASTrust
    the user ID for the SAS Trusted user account on the SAS Metadata Server
    Required
    $Password
    the password for the SAS Trusted user account
    Optional
    If you do not specify this value, you are prompted for the password at run time.
    $ImpID
    If the SAS Metadata Server will always be accessed by a single ID, use this option to specify that user ID. By default, all users are identified by their Microsoft SharePoint ID.
    Optional
    $Uninstall
    This value is True if you are uninstalling the SAS Web Parts. This value is False if you are installing the SAS Web Parts. If you do not specify a value, the default is installing the SAS Web Parts.
    Optional
  4. Start a PowerShell 64-bit session by using the SharePoint 2010 or 2013 Management Shell.
  5. Verify access to the Microsoft SharePoint farm.
    For example, if entering get-SPSolution does not generate an error, you have access to the farm.
  6. To run the install script, run.\Install-SASWebParts.ps1 .\SASWebParts.wsp.