This project is read-only.

MASAS SharePoint Installation Guide

Feature installation

1. Install the MASAS solution (MASAS.wsp)

Using PowerShell:
Add-SPSolution -LiteralPath c:\{full path}\MASAS.wsp


2. Install the MASAS Addons solution (MASAS.Addons.wsp)

Using PowerShell:
Add-SPSolution -LiteralPath c:\{full path}\MASAS.Addons.wsp


3. Install the MASAS Publication Addons solution (MASAS.Addons.Publishing.wsp)

Using PowerShell:
Add-SPSolution -LiteralPath c:\{full path}\MASAS.Addons.Publishing.wsp


4. Deploy the MASAS feature (Make sure the SharePoint 2010 Administration service is running)

Using PowerShell:
Install-SPSolution –Identity MASAS.wsp –GacDeployment –WebApplication { Url }


5. Deploy the MASAS Addons feature

Using PowerShell:
Install-SPSolution –Identity MASAS.Addons.wsp –GacDeployment –WebApplication { Url }


6. Deploy the MASAS Plushings Addons feature

Using PowerShell:
Install-SPSolution –Identity MASAS.Addons.Publishing.wsp –GacDeployment

MASAS SharePoint Configuration

Activate Features (Site Collection Features)

1. Enable the MASAS Site feature in the Site collection features.
2. Enable the MASAS Addons feature in the Site collection features.
3. Enable the MASAS feature in the Site features
4. Verify the MASAS Publishing Addons is enabled in the Central Administration's Farm Features.

MASAS Feature Configurations

SharePoint web.config

Modify the web.config with the following changes (a file named webconfig.MASAS.addons.publishing.xml containing the necessary changes is provided with the install package in the folder C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG).

Add/modify the <system.serviceModel> block with these changes:

<system.serviceModel>
  <bindings>
    <wsHttpBinding>
      <binding name="WSHttpBinding_IPublicationService"
               closeTimeout="00:01:00" openTimeout="00:01:00"
               receiveTimeout="00:10:00" sendTimeout="00:01:00"
               bypassProxyOnLocal="false" transactionFlow="false"
               hostNameComparisonMode="StrongWildcard"
               maxBufferPoolSize="524288"
               maxReceivedMessageSize="65536" maxReceivedMessageSize="100000000" messageEncoding="Text"
               textEncoding="utf-8" useDefaultWebProxy="true"
               allowCookies="false">
        <readerQuotas maxDepth="32" maxStringContentLength="83886080"
                      maxArrayLength="16384" maxBytesPerRead="4096"
                      maxNameTableCharCount="16384" />
        <reliableSession ordered="true" 
                         inactivityTimeout="00:10:00"
                         enabled="false" />
        <security mode="Message">
          <transport clientCredentialType="Windows"
                     proxyCredentialType="None" realm="" />
          <message clientCredentialType="Windows"
                   negotiateServiceCredential="true"
                   algorithmSuite="Default" />
        </security>
      </binding>
    </wsHttpBinding>
  </bindings>
  <client>
    <endpoint address="http://localhost:8732/Design_Time_Addresses/MASAS.MSM.Services/PublicationService/" 
              binding="wsHttpBinding" 
              bindingConfiguration="WSHttpBinding_IPublicationService" 
              contract="PublicationService.IPublicationService" 
              name="WSHttpBinding_IPublicationService">
      <identity>
        <dns value="localhost" />
      </identity>
    </endpoint>
  </client>
</system.serviceModel>

Add to this entry to the <System.Workflow.ComponentModel.WorkflowCompiler><authorizedTypes><targetFx version="v4.0"> block:

<authorizedType Assembly="PublishingWorkflowAction, Version=1.1.0.0, Culture=neutral, PublicKeyToken=b8a4d0447e6e336e" 
                Namespace="PublishingWorkflowAction" 
                TypeName="*" 
                Authorized="True" />

SymbolAssociationCommand

A file called SymbolAssociationCommand.xap can be found in the MASAS Documents library. This file needs to be copied to the Esri Maps Extensions library. This is important to be a able to see the appropriate icons when creating a map web part.

MASAS Hub Setup

This configuration needs to be done for each SharePoint Site that needs access to the MASAS data. Find the “MASAS Hub Connections” list in your site. Add an entry with these values:
  • Title: MASAS Sandbox Hub
  • URI: https://sandbox2.masas-sics.ca/hub
  • Token: {provided token}
  • Access: Read/Write

MASAS Publication Setup

For the publication to work as designed, a workflow will need to be created.
  • Open SharePoint Designer 2013
  • Open the site with the installed MASAS feature
  • Open the MASAS Publications list
  • Under the Workflows section, add a new workflow
  • Name the worklfow "Publish To MASAS" (or any other name) and select "SharePoint 2010 Workflow"
  • Once the designer opens, simply add a new *Publish to MASAS" action and set these parameters:
    • param 1: Current Item
    • param 2: List = Hub Connections, Field = ID, Value = 1 (this will select the first item in the Hub Connections list.
  • Apply the changes to the Action
  • Save your workflow
  • Publish your workflow

Now you will have a workflow that will push individual MASAS items to a MASAS hub.

Last edited May 12, 2014 at 6:59 PM by GabeF, version 5

Comments

No comments yet.