Thursday, April 10, 2014

Vault Sharepoint 2010 Integration Sharepoint Site Administrator Tasks

Sharepoint Site Administrator Tasks

Autodesk Vault provides an engineering data management solution that ensures the integrity of design relationships and supports revision control, while SharePoint provides a simplified and familiar interface for other users within a design organization.

Vault Sharepoint 2010 Integration

The Sharepoint 2010 integration is achieved with Microsoft Business Data Connectivity Services (BDC) by using Autodesk Vault Professional with Microsoft SharePoint 2010.

SharePoint users can search, list, link, and download visualization files from Autodesk Vault using the SharePoint interface.

The SharePoint site administrator can configure aspects of the Vault SharePoint integration to streamline workflows. Administrators can create Vault File Lists, configure Vault Search sites, customize search settings, and expose user-defined properties to Sharepoint.

Manage Vault File Lists

Administrators can create and customize Vault File lists to meet their data management needs.

Create a List

    Follow these steps to create a new list.

  1. Go to: <WebSite>/_layouts/Autodesk.Vault.BCSConnect/addVaultlist.aspx
  2. Enter a list name, specify the type, and select Create List.

Customize a Vault List

    Multiple lists may be configured with unique vault parameters.

  1. Navigate to the list that you wish to customize.
  2. Select the List tab under List Tools.

  3. Select Modify View.

  4. In the Columns section the columns can be enabled or disabled and reordered. Additional columns can be added using the BDCModelEditor.

  5. Data Source Filters allow you to filter the incoming data from a vault.
    • Category allows filtering by Vault Category.
    • State supports filtering by Vault object life cycle.
    • Vault Folder supports limiting the scope to a specific folder branch. The correct format is:

      $/FirstLevelFolderName/SecondLevelFolderName

    • Limit specifies the number of returned objects from Vault.

Configure Vault Search Sites and Search Settings

Administrators can establish search settings and customize search sites to streamline data searches.

Configure a Search Site

    You must configure a search site for Vault to be able to locate files in a vault.

  1. Log into a SharePoint site.
  2. Select Site Actions and More Options.

  3. Click Basic Search Center. This view requires Microsoft Silverlight. These options are available without Silverlight but the interface looks different than the image below.

  4. Title it Vault Search.
  5. Enter VaultSearch in the URL field.
  6. Click Create.

  7. The new search page opens.
  8. Enter any random value and perform a simple search. No results will be returned but you are taken to the Search Results Page.
  9. On the search results page, click on the Page tab at the top and click Edit Page.

  10. Scroll down to Bottom Zone and click Add Web part.

  11. At the top menu click Search and then Federated Results. Click Add.

  12. Scroll down to the new Federated Results part. Click the menu arrow and select Edit Web Part.

  13. Scroll to the top right corner of the page and locate the Federated Results setting.
  14. Under Location select Vault Search.

  15. Expand Display Properties and set Results.  

  16. Click Save.

  17. At the bottom of the edit menu click OK.

  18. At the top left click Stop Editing to save your changes.

Add Vault as a Search Source

    Follow these instructions to add Vault as an alternate search source on another page in your site.

  1. Open the site to which you wish to add Vault as a search source.
  2. Under Site Actions select Site Settings.

  3. Select Search Settings in the Site Collection Administration section. 

  4. Select Enable custom scopes (such as “All Sites”) by connecting this site collection with the following Search Center.
  5. Enter your search site name preceded by a forward slash. If you used the site name in the previous step enter /VaultSearch.

  6. You can customize the search experience by specifying the drop-down mode for Searches.
  7. Select OK at the bottom. 
  8. Return to your home page and click Refresh. Notice the new search drop-down. Selecting All Sites will now search Vault in addition to other configured sources.

Logging

    SharePoint can keep a log of Vault errors. These logs can be created by setting the Product field in the message logs to the value Autodesk Vault BCS Connector. Microsoft provides a free utility ULS Viewer that allows filtering by specific product at http://archive.msdn.microsoft.com/ULSViewer.

Add Vault as a Search Source

Follow these instructions to add Vault as an alternate search source on another page in your site.

Manage Thumbnails

Add thumbnails to a site to help manage data.

Add Thumbnails to Lists

    If you choose to manually create a SharePoint list that accesses Vault, you must modify the aspx page containing the list. Copy and paste the highlighted section detailed below.

  1. Copy:
    disable‐output‐escaping=”yes”


  2. Paste three lines down as shown here. The correct result is two instances of the specified line.


Troubleshoot Thumbnail Displays


    When Create/Upgrade is invoked on the AdskVaultFile (shown below) the profile pages are overwritten and the thumbnails may not display properly. To restore proper display of the thumbnails the profile page XSL must be manually updated. There are a couple of methods to achieve the update. All methods require familiarity with profile pages and XSL configuration. The process outlined below requires Microsoft SharePoint Designer 2010 which is available online from Microsoft.

  1. Execute a vault search that returns Vault files with thumbnails. Select one of the results to show the profile page. Notice the thumbnail is displayed as a string.



  2. Click Page Expand Edit page command and select Edit page in SharePoint Designer.  



  3. SharePoint Designer opens the profile page in an edit mode. Select the Thumbnail cell.  


  4. At the bottom of the screen select Code. If the following view does not appear, switch back to Design and then select Code again. The Design button is located just to the left of Code.



  5. Delete the following two highlighted sections.


  6. Insert
    disable-output-escaping=”yes”
    after “@Thumbnail”on the line that was not deleted.


  7. Select Save then close SharePoint Designer and refresh the profile page in the browser.


    The thumbnails should display now.


Add Vault User-Defined Properties in SharePoint

The Autodesk.BDCModelEditor application located in the deployment folder allows you to modify the list of Vault properties that are exposed to SharePoint. All Vault User-Defined Properties (UDPs) may be exposed in SharePoint. Here are the default properties and the display settings for list and profile pages.

See Properties Administration for more information.

Learn About BCS Properties

File Properties
List View Columns
Profile Page

BDC Identity

Category Name
X
X

Checked Out
X

Checked In
X

Checked Out By
X

Comment
X

ControlledByChangeOrder
X

DateVersionCreated
X

File Size

Lifecycle Definition

Name
X
X

Revision
X
X

State
X
X

Thumbnail
X
X

Version
X

Note: Links are available on the profile page to download source and visualization files.

Item Properties
List View Columns
Profile Page

BCS Identity

Title (Item, CO) 
X
X

Name
X

Number
X
X

Revision
X
X

Version
X

State
X
X

Comment

Description (Item, CO)
X

Effectivity End

Effectivity Start 

Effectivity
X

Property Compliance
X

Equivalence
X

Controlled by Change Order
X

Category Name
X
X

Units
X

Last Updated By
X

Last Updated
X

Note: A link is available on the profile page to download a visualization of the Primary Associated File.

Change Order Properties
List View Columns
Profile Page

BCS Identity

Title (Item, CO)
X
X

Name
X

Number
X
X

Number of Items
X

Created By
X

Submitted By
X
X

Date Created
X

Date Modified
X

Date Submitted
X
X

Due Date
X

Review Status
X

Stae
X
X

Description (Item, CO)
X
X

Last Updated By
X

Leased Until
X

Export the AdskVaultModel.bdcm File from SharePoint


    Follow these steps to export the AdskVaultModel.bdcm file from SharePoint. 

  1. Start SharePoint 2010 Central Administration.
  2. Under Application Management click Manage service applications.
  3. Click Business Data Connectivity Service.
  4. Ensure that BDC Models is selected in the View section of the toolbar.
  5. Select Export for the AdskVaultModel.


Edit the BCS Model


  1. Drag and drop the three Autodesk.Connectivity DLLs from the deployment directory into the Windows\Assembly folder. This step requires local administrator permissions.
  2. Double click Autodesk.BDCModelEditor.exe.
  3. Log in using the Vault credentials. The server may be the machine name or IP address.


  4. Drag the AdskVaultModel.bdcm onto the editor.


  5. Select the desired Vault properties and Add‐> to the right column. Ensure that any property that you want to remove from the BCS model is removed from the display of all lists and profile pages prior to removal from the BCS model.


  6. Save and Close. 

Replace Existing Model


    The modified AdskVultModel.bdcm must be reimported to SharePoint to repalce the existing model. 

    Note: If updating an existing deployment of Vault Connector, delete the existing instance of AdskVaultModel before loading the updated connector.

  1. Start SharePoint 2010 Central Administration.
  2. Under Application Management click Manage service applications.
  3. Click Business Data Connectivity Service.
  4. Ensure that BDC Models is selected in the View section of the toolbar.


  5. Delete the existing AdskVaultModel.


  6. Click Import on the toolbar. 
  7. In the BDC Model File field browse to and open your updated version of the exported file: AdskVaultModel.xml.


  8. Click Import at the bottom of the screen. 
  9. Click OK on the message dialog indicating that the import was successful. 

    Repeat the steps detailed above in the sections Set Access Permission and Configure Profile Page. The new properties are available for use on existing lists but do not appear until enabled.

No comments: