Manage ADEP Document Services features on SharePoint sites

By default, when you configure the SharePoint server with the ADEP Document Services features, all features available on the Document Server are available for configuration on all sites on the SharePoint server. This is because you installed the ADEP Document Services SharePoint Connector web part on the SharePoint server that hosts all the sites. For example, if the Document Server instance has Rights Management, PDF Generator, and Reader Extensions available on the Document Server, all sites on the SharePoint server will have these features available. You can manage the Document Services features in the following ways:
  • Enable or disable all Document Services features or workflows on a site

  • Selectively disable Document Services features on all sites

  • Uninstall the ADEP Document Services SharePoint Connector web part from the SharePoint server

Note: Making changes to SharePoint Server affects all sites that are on the server. Exercise caution when you enable or disable ADEP Document Services features and workflows or uninstalling the SharePoint Connector web part.

Disable or enable ADEP features or workflows

You can disable all ADEP features on any site on the SharePoint server. Keep in mind that this step removes all the ADEP Document Services features from the specified site. If the specified site has any child sites, only the parent site will have the ADEP features deactivated. For example, if you deactivate the ADEP features on the site http://mysite:80, its child site http://mysite:80/subsite is not affected. Similarly, other sites on the same SharePoint server are not affected.

On the other hand, disabling or enabling workflow works only for a site collection and not for a site or subsite. That is, enable of disable command for workflow will work with site URL is http://mysite:80/ but not when site URL is http://mysite:80/site.

Disable ADEP features and workflows

  1. Open a command prompt, and navigate to the %TEMPLATEDIR%\FEATURES folder on the Windows machine that hosts SharePoint Server. The default location of the TEMPLATE directory is C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\.

  2. Enter the following commands:
    • To deactivate ADEP Document Services Connector feature with WSS:

      %STSADM% -o deactivatefeature -filename LiveCycle\feature.xml -url %SITEURL% -force

    • To deactivate ADEP Document Services Workflow feature with WSS:

      %STSADM% -o deactivatefeature -name LiveCycle/Workflow -url %SITEURL% -force

    In these commands, replace the variables with relevant values. See Appendix- Configuring Connector for Microsoft SharePoint on the SharePoint server in the installation guide for ADEP Document Server for information about these parameters.
    %STSADM%
    The location of the STSADM utility that you defined as part of the web part installation.

    %TEMPLATEDIR%
    The TEMPLATES directory on the SharePoint server.

    %SITEURL%
    The URL of the site on which you want to disable the ADEP Document Services features.

  3. Restart the IIS server.

Enable ADEP features and workflows

  1. Open a command prompt, and navigate to the %TEMPLATEDIR%\FEATURES folder on the Windows machine that hosts SharePoint Server.

  2. Enter the following commands:
    • To activate ADEP Document Services Connector feature with WSS:

      %STSADM% -o activatefeature -filename LiveCycle\feature.xml -url %SITEURL% -force

    • To activate ADEP Document Services Workflow feature with WSS:

      %STSADM% -o activatefeature -name LiveCycle/Workflow -url %SITEURL% -force

    In these commands, replace the variables with relevant values. See Appendix- Configuring Connector for Microsoft SharePoint on the SharePoint server in the installation guide for ADEP Document Server for information about these parameters.

  3. Restart the IIS server.

Selectively disable ADEP features on all SharePoint sites

You can selectively disable Document Server features that are available. Keep in mind that these changes affect all sites on the SharePoint server. To make such changes, you remove the feature configuration defined in the %TEMPLATEDIR%\FEATURES\LiveCycle\Elements.xml file.

For example, to make only the PDF Generator feature available on SharePoint sites, you remove the definitions for Reader Extensions, Rights Management and Invoke Adobe LiveCycle Process from the Elements.xml file. These definitions are enclosed in CustomAction elements. To disable a feature, you remove or comment out the CustomAction elements related to the features. For example, to disable Rights Management features, you remove CustomAction elements that have the Id starting with LiveCycle.RightsManagement.

  1. Navigate to the %TEMPLATEDIR%\FEATURES\LiveCycle folder, and make a back up copy of the Elements.xml file.

  2. Open the Elements.xml file in a text editor.

  3. Depending on the Document Server feature to be disabled, identify the CustomAction elements related to the Document Services feature, and delete entire elements.

    Document Server feature

    CustomAction element ID

    Description

    Reader Extensions

    LiveCycle.ApplyReaderExtensions

    Enables Reader Extensions on PDF documents.

    Rights Management

    LiveCycle.RightsManagement.ApplyPolicyToPdf

    Rights-protect PDF documents

    LiveCycle.RightsManagement.ApplyPolicyToDoc

    Rights-protect Microsoft Word documents

    LiveCycle.RightsManagement.ApplyPolicyToXls

    Rights-protect Microsoft Excel documents

    LiveCycle.RightsManagement.ApplyPolicyToPpt

    Rights-protect Microsoft PowerPoint documents

    LiveCycle.RightsManagement.ApplyPolicyToDocx

    Rights-protect Microsoft Word documents

    LiveCycle.RightsManagement.ApplyPolicyToXlsx

    Rights-protect Microsoft Excel documents

    LiveCycle.RightsManagement.ApplyPolicyToPptx

    Rights-protect Microsoft PowerPoint documents

    LiveCycle.RightsManagement.ApplyPolicyToDwg

    Rights-protect Microsoft Excel documents

    LiveCycle.RightsManagement.ApplyPolicyToDxf

    Rights-protect AutoCAD documents

    LiveCycle.RightsManagement.ApplyPolicyToDwf

    Rights-protect AutoCAD documents

    PDF Generator

    LiveCycle.GeneratePDFFromPdf

    Convert a PDF created from an image to a text-based PDF if Standard OCR was used as the file type in Site Settings.

    LiveCycle.GeneratePDFFromDoc

    Generate PDF from Microsoft Word documents

    LiveCycle.GeneratePDFFromPs

    Generate PDF from PostScript files

    LiveCycle.GeneratePDFFromEps

    Generate PDF from EPS documents

    LiveCycle.GeneratePDFFromPrn

    Generate PDF from PRN files

    LiveCycle.GeneratePDFFromDocx

    Generate PDF from Microsoft Word 2007 documents

    LiveCycle.GeneratePDFFromPpt

    Generate PDF from Microsoft PowerPoint documents

    LiveCycle.GeneratePDFFromPptx

    Generate PDF from Microsoft PowerPoint documents

    LiveCycle.GeneratePDFFromXls

    Generate PDF from Microsoft Excel documents

    LiveCycle.GeneratePDFFromXlsx

    Generate PDF from Microsoft Excel documents

    LiveCycle.GeneratePDFFromBmp

    Generate PDF from BMP files

    LiveCycle.GeneratePDFFromGif

    Generate PDF from GIF images

    LiveCycle.GeneratePDFFromJpeg

    Generate PDF from JPEG images

    LiveCycle.GeneratePDFFromJpg

    Generate PDF from JPG images

    LiveCycle.GeneratePDFFromTiff

    Generate PDF from TIFF images

    LiveCycle.GeneratePDFFromTif

    Generate PDF from TIF images

    LiveCycle.GeneratePDFFromPng

    Generate PDF from PNG images

    LiveCycle.GeneratePDFFromJpf

    Generate PDF from JPF images

    LiveCycle.GeneratePDFFromJpx

    Generate PDF from JPX images

    LiveCycle.GeneratePDFFromJp2

    Generate PDF from JPEG 2000 images

    LiveCycle.GeneratePDFFromJ2k

    Generate PDF from JPEG 2000 images

    LiveCycle.GeneratePDFFromJ2c

    Generate PDF from JPEG 2000 images

    LiveCycle.GeneratePDFFromJpc

    Generate PDF from JPEG 2000 images

    LiveCycle.GeneratePDFFromHtm

    Generate PDF from HTM documents

    LiveCycle.GeneratePDFFromHtml

    Generate PDF from HTML documents

    LiveCycle.GeneratePDFFromSwf

    Generate PDF from SWF files

    LiveCycle.GeneratePDFFromFlv

    Generate PDF from Flash video files

    LiveCycle.GeneratePDFFromTxt

    Generate PDF from text files

    LiveCycle.GeneratePDFFromRtf

    Generate PDF from Rich Text Format files

    LiveCycle.GeneratePDFFromMpp

    Generate PDF from Microsoft Project files

    LiveCycle.GeneratePDFFromPub

    Generate PDF from Microsoft Publisher documents

    LiveCycle.GeneratePDFFromVsd

    Generate PDF from Microsoft Visio files

    LiveCycle.GeneratePDFFromDwd

    Generate PDF from AutoCAD document

    LiveCycle.GeneratePDFFromDxf

    Generate PDF from AutoCAD document

    LiveCycle.GeneratePDFFromDwf

    Generate PDF from AutoCAD document

    LiveCycle.GeneratePDFFromOdt

    Generate PDF from OpenOffice document

    LiveCycle.GeneratePDFFromOdp

    Generate PDF from OpenOffice document

    LiveCycle.GeneratePDFFromOds

    Generate PDF from OpenOffice document

    LiveCycle.GeneratePDFFromOdg

    Generate PDF from OpenOffice document

    LiveCycle.GeneratePDFFromOdf

    Generate PDF from OpenOffice document

    LiveCycle.GeneratePDFFromSxw

    Generate PDF from OpenOffice document

    LiveCycle.GeneratePDFFromSxi

    Generate PDF from OpenOffice document

    LiveCycle.GeneratePDFFromSxc

    Generate PDF from OpenOffice document

    LiveCycle.GeneratePDFFromSxd

    Generate PDF from OpenOffice document

    LiveCycle.GeneratePDFFromWpd

    Generate PDF from OpenOffice document

    LiveCycle.GeneratePDFFromPmd

    Generate PDF from Adobe PageMaker documents

    LiveCycle.GeneratePDFFromPm6

    Generate PDF from Adobe PageMaker documents

    LiveCycle.GeneratePDFFromP65

    Generate PDF from Adobe PageMaker documents

    LiveCycle.GeneratePDFFromPm

    Generate PDF from Adobe PageMaker documents

    LiveCycle.GeneratePDFFromFm

    Generate PDF from Adobe FrameMaker documents

    LiveCycle.GeneratePDFFromPsd

    Generate PDF from Adobe Photoshop documents

    Invoke ADEP Document Services process

    LiveCycle.InvokeGenericLiveCycleProcessOnALL

    Invoke ADEP Document Services Process

    Adobe Forms Library

    AdobeFormsLibrary

    Set up SharePoint as the repository for forms data.

    Remove the CustomAction, ListTemplate and ListInstance elements.

    LiveCycle User Tasks

    LiveCycleUserTasks

    Lists the user tasks.

    Remove the ListTemplate element.

    LiveCycle Group Tasks

    LiveCycleGroupTasks

    Lists the group tasks.

    Remove the ListTemplate element.

  4. Save the Elements.xml file.

  5. Restart IIS server for the changes to take effect.

Uninstall the ADEP Document Services Connector web part

You can uninstall the web part from the SharePoint server. The uninistallation process restarts the IIS Server.

  1. Copy the following text in a text editor and make the required changes. See Appendix- Configuring Connector for Microsoft SharePoint on the SharePoint server in the installation guide for ADEP Document Server for information about these parameters. You must remove any special formatting marks from the text.

    set _my_datetime=%date% %time% 
    @echo on 
    echo Begin Uninstallation at %_my_date time% 
    echo "Customize <VER> <PORT> <SharepointServerNameOrIP> <SiteDirectory> <siteName> in this install.bat file. Verify gacutil.exe path." 
    @echo off 
    @SET GACUTILEXE="C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\gacutil.exe" 
    @SET TEMPLATEDIR="C:\Program Files\Common Files\Microsoft Shared\web server extensions\<VER>\TEMPLATE" 
    @SET ISAPIDIR="C:\Program Files\Common Files\Microsoft Shared\web server extensions\<VER>\ISAPI" 
    @SET RESOURCESDIR="C:\Program Files\Common Files\Microsoft Shared\web server extensions\<VER>\Resources" 
    @SET WEBAPPDIR="C:\Inetpub\wwwroot\wss\VirtualDirectories\<Port>" 
    @SET SITEURL="http://<SharepointServerNameOrIP>:<port>/<SiteDirectory>/<siteName>/" 
    @SET STSADM="C:\Program Files\Common Files\Microsoft Shared\web server extensions\<VER>\bin\stsadm.exe" 
    REM cd $(ProjectDir) 
    %GACUTILEXE% /nologo /u "AdobeLCSharepoint,Version=1.0.0.0,PublicKeyToken=6720cbcc342f4ca4" /f 
    %GACUTILEXE% /nologo /u "AdobeLiveCycleConnector,Version=1.0.0.0,PublicKeyToken=6720cbcc342f4ca4" /f 
    %GACUTILEXE% /nologo /u "AdobeLiveCycleWorkflow,Version=1.0.0.0,PublicKeyToken=6720cbcc342f4ca4" /f 
    %GACUTILEXE% /nologo /u "AdobeLCFormsIntgr,Version=1.0.0.0,PublicKeyToken=6720cbcc342f4ca4" /f 
    %GACUTILEXE% /nologo /u "AdobeLCFormsIntgrListExtnWebService,Version=1.0.0.0, 
    PublicKeyToken=6720cbcc342f4ca4" /f 
    %GACUTILEXE% /nologo /u "AdobeLCTaskManager,Version=1.0.0.0,PublicKeyToken=6720cbcc342f4ca4" /f 
    pushd %TEMPLATEDIR%\features 
    Echo Deactivating LiveCycle Connector feature with WSS 
    %STSADM% -o deactivatefeature -filename  LiveCycle\feature.xml  -url %SITEURL% -force 
    Echo Deactivating LiveCycle Workflow feature with WSS 
        %STSADM% -o deactivatefeature -name LiveCycle/Workflow -url %SITEURL% -force 
    Echo Uninstalling LiveCycle Connector with WSS 
        %STSADM% -o uninstallfeature -filename  LiveCycle\feature.xml -force 
    Echo Uninstalling LiveCycle Workflow with WSS 
        %STSADM% -o uninstallfeature -name  LiveCycle/Workflow -force 
    popd 
    Echo Removing source files from WSS \TEMPLATE directory 
        RMDIR %TEMPLATEDIR%\FEATURES\LiveCycle /S /Q 
        RMDIR %TEMPLATEDIR%\IMAGES\LiveCycle /S /Q 
        RMDIR %TEMPLATEDIR%\LAYOUTS\LiveCycle /S /Q 
    Echo Removing Custom Web Service files from WSS \ISAPI directory 
        RMDIR %ISAPIDIR%\LiveCycle /S /Q 
    Echo Removing Feature Resource files from WSS 12\Resources directory 
        Del %RESOURCESDIR%\AdobeLiveCycleConnectorCore.de-DE.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleConnectorCore.de.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleConnectorCore.en-US.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleConnectorCore.en.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleConnectorCore.fr-FR.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleConnectorCore.fr.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleConnectorCore.ja-JP.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleConnectorCore.ja.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleConnectorCore.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleFormsIntgrCore.de-DE.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleFormsIntgrCore.de.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleFormsIntgrCore.en-US.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleFormsIntgrCore.en.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleFormsIntgrCore.fr-FR.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleFormsIntgrCore.fr.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleFormsIntgrCore.ja-JP.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleFormsIntgrCore.ja.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleFormsIntgrCore.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleTaskManagerCore.de-DE.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleTaskManagerCore.de.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleTaskManagerCore.en-US.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleTaskManagerCore.en.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleTaskManagerCore.fr-FR.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleTaskManagerCore.fr.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleTaskManagerCore.ja-JP.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleTaskManagerCore.ja.resx /F /Q 
        Del %RESOURCESDIR%\AdobeLiveCycleTaskManagerCore.resx /F /Q 
    Echo Removing Resource files from %WEBAPPDIR%\App_GlobalResources directory 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleConnector.de-DE.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleConnector.de.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleConnector.en-US.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleConnector.en.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleConnector.fr-FR.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleConnector.fr.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleConnector.ja-JP.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleConnector.ja.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleConnector.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleFormsIntgr.de-DE.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleFormsIntgr.de.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleFormsIntgr.en-US.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleFormsIntgr.en.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleFormsIntgr.fr-FR.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleFormsIntgr.fr.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleFormsIntgr.ja-JP.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleFormsIntgr.ja.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleFormsIntgr.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleTaskManager.de-DE.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleTaskManager.de.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleTaskManager.en-US.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleTaskManager.en.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleTaskManager.fr-FR.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleTaskManager.fr.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleTaskManager.ja-JP.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleTaskManager.ja.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleTaskManager.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleWorkflow.de-DE.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleWorkflow.de.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleWorkflow.en-US.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleWorkflow.en.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleWorkflow.fr-FR.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleWorkflow.fr.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleWorkflow.ja-JP.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleWorkflow.ja.resx /F /Q 
        Del %WEBAPPDIR%\App_GlobalResources\AdobeLiveCycleWorkflow.resx /F /Q 
         
    popd 
    Echo Restarting IIS worker process 
    IISRESET 
    set _my_datetime=%date% %time% 
    @echo on 
    echo End Installation at %_my_datetime% 
    @echo off 
    cmd /k
  2. Set values for the following variables:
    %STSADM%
    The location of the STSADM utility that you defined as part of the web part installation.

    %TEMPLATEDIR%
    The TEMPLATES directory on the SharePoint server.

    %SITEURL%
    The URL of the site on which you want to disable the ADEP Document Services features.

  3. Save the file as Uninstall-sharepoint-connector.bat in the location where you have extracted ADEP Document Services web part at the time of installation on the SharePoint server. This folder contains the install.bat file that you used to install the web part. and double-click to start uninstallation.

  4. From Windows Explorer, double-click the uninstall-sharepoint-connector.bat file to start the uninstallation. The uninstallation process restarts the IIS Server.

  5. After the uninstallation steps are completed, open the web.config file of your web application in a text editor.

  6. Remove the elements <system.serviceModel> </system.serviceModel> from this file, and then save the file.