Managing the K2 Five settings for a specific Site Collection
The K2 for SharePoint App Settings page can be accessed by clicking on the K2 Five App in the SharePoint Site Contents page.
Use the options below to access and manage K2 for SharePoint features and settings.
General
Use this option to rerun the Activation Wizard on a site collection level. The Activation Wizard, reactivates the K2 Five app on the site collection.
To rerun the Activation Wizard, follow the steps below:
- On your site collection, click Site Contents > K2 Five.
- Click the Activate Site Collection link in the General section.
- The Activation Wizard runs. Take note that all subsites associated with the site collection will get the app reactivated.
- Click the Close button.
Use this option to remove the K2 for SharePoint app from the SharePoint Site. For more information go to the Uninstall topic.
Removing K2 Five and K2 artifacts from a Site Collection
Removing K2 artifacts from a SharePoint site does not remove them from the K2 server, it does however remove the remote events which allow workflows to start.
-
To remove the K2 artifacts, browse to the K2 Five settings page and click the Uninstall link under the General heading.
- The Uninstall K2 for SharePoint page is shown, select Uninstall or Cancel:
Once the actions described on the uninstall page have been performed (green check-marks will show), the page will redirect to the home page. - In the previous step, if Uninstall is clicked, the following warning is shown. Select either OK or Cancel.
Artifacts
The following Artifacts are available:
- Reports
- SmartObjects
- Designer
Use this option to view reports based on the site collection workflows. For more information go to the Using Reports topic.
The SmartObjects artifact is used for generating and managing SmartObjects.
Generate SmartObjects
Follow these steps to generate single or multiple SharePoint List or Library SmartObjects for a Site:
- Click on New from either the Libraries or Lists section.
- A list of SharePoint Lists or Libraries will display depending on which section you are working from. Select the items for which the SmartObjects will be created by clicking the check-box in front of each item. Select the Scope of these items. The Scope can be changed per item at a later stage. The Scope options are:
- This Site and all of its subsites - This option enables the use of the SmartObjects in a K2 workflow designed in the K2 for SharePoint application from any List or Library in the Site Collection including all of the sites subsites.
- List/Library - This option enables the use of the SmartObjects in a K2 workflow designed in the K2 for SharePoint application only for the specific List or Library.
- None - Selecting this option will prevent the use of the SmartObjects in a K2 workflow designed in the K2 for SharePoint application.
- Click OK to generate the selected items as SmartObjects.
- The items selected will now be listed under the relevant sections indicating the scope per item.
- If you click on New again, only the items for which SmartObjects do not exist will now be displayed. These can be selected to generate SmartObjects.
When generating SmartObjects based on SharePoint Lists, the associated Attachments SmartObject will also be generated and displayed in the list of SmartObjects as per the image above.
Clicking OK or Cancel on the Manage SmartObjects Landing page after generating SmartObjects, will not influence the SmartObjects generated. It will only save or cancel changes made to the Scope of these SmartObjects.
Manage SmartObjects
To manage SmartObjects, click on the SmartObjects artifact from the K2 for SharePoint App Settings page.
The Scope of SmartObjects can be changed from this page. The scope determines where the SmartObject is visible for workflows. The scope options are:
- This Site and all of its subsites - This option enables the use of SmartObjects in workflows designed any SharePoint List, Document Library or related subsites in the Site Collection.
- List/Library - This option enables the use of the SmartObjects in a workflow only for the specific SharePoint List or Document Library.
- None - Selecting this option will prevent the use of the SmartObject in a workflow designed in the K2 Application.
To change the scope per SmartObject, select a SmartObject and click Edit or double click the SmartObject. Click on the drop-down under Scope and select the new scope for the SmartObject.
Click OK at the bottom of the page to finish editing the SmartObject's visibility settings.
Additional SmartObjects
The Additional SmartObjects section allows you to add or remove other SmartObjects so that they are visible when designing a workflow. For example, if you had a SmartObject that exposes a SQL database, you must add the SmartObject to the Additional SmartObjects section before it is available in the workflow design tool. Note that any SmartObjects you add in the Additional section appear in the SmartObjects tab of the workflow designer for all workflows designed on the site.
To add SmartObjects, click on the Add button and then use the ellipsis button to browse for and select the SmartObject you want to expose in the workflow designer.
Additional SmartObjects can be removed either by selecting a SmartObject and clicking Remove option, or click Remove All to remove all the SmartObjects listed.
Use this link to open the K2 Designer. You can use the K2 Designer to manually create SmartObjects and work with SmartForms.
Permissions
Use this option to specify K2 permissions based on site collection group membership. The available options are:
- Solution Designers: Assign permissions to members in the site collection Group/s to design SmartObjects, views, forms and workflows.
- Solution Participants: Assign permissions to members in the site collection Group/s to start and view information about workflows they participate in. This option only applies to workflows created in Workflow Designer (Legacy).
The synchronization of Site Collection Groups between
The following Synchronization options are available:
- Sync All - This option enables synchronization for all SharePoint site groups. This includes groups in the Solution Designers, Solution Participants and other SharePoint groups not part of these roles.
- Synchronize K2-related Groups - This option enables synchronization between SharePoint site groups and K2. Only SharePoint groups that are in the Solution Designers and Solution Participants roles will be synchronized.
Management
This takes you to the K2 Management site where you can manage SmartObjects, Workflows, Worklists, Users and Server for example. See the K2 Management Site for more information on using the Management site.