Before you start
The standard Contribute product for Events, Locations and Default articles is imported into iCM as part of our regular release process.
This guide takes a copy of the "default" set of forms and end points, and sets up a new instance of the Contribute product so that it can be customised. You could also copy the event or location forms/end points if you need to customise them.
Before setting up the forms and end points you'll need to create some users, API keys, and metadata, and decide where content is going to be created.
Decide where content will be created
Destination of submitted articles
Articles created by the contribute form will appear beneath a parent article in iCM. Decide which article will act as the parent and note down its ID.
You can have more than one parent article - users will be able to pick where to create their content using a drop-down on the form.
Destination of submitted media
Media items created by Contribute will be saved to an iCM media group. We recommend creating a group called "Contributed Media". Create a group and note down its ID.
Create the metadata
If you'd like to be able to tag the content that is contributed with certain categories (you might be setting up an Event Search for example), users will need to be able to attach metadata values to their articles.
Create a metadata group and properties (or find an existing one) with all of the values you'd like to use and note down the group ID.
In this example a "Service Directory" group has been created within the main "Contribute metadata" group:

iCM user and API key
The Contribute product creates articles and media items in iCM. To do this it needs an iCM user to act as, via an API key. The user should be given a meaningful name like CONTRIBUTEEVENT. Create an iCM user and note down the username and password.
Contribute iCM users need sufficient iCM Privileges to be able to create content in iCM, but these should be kept to a minimum. Users should generally be given full article and media privileges, and content roots that only include the template type and parent article IDs of the content they will be creating or updating. They should only have access to the media group you created earlier.
API keys
Rather than adding usernames and passwords into your configuration, Contribute uses an API key to act as the iCM user created above.
Create a key with a meaningful name and add the icmapi worker to it. We recommend create a separate key (and iCM user) for each instance of Contribute you set up:

The key needs to supply the username and password of your Contribute iCM user, you can leave the authentication type as "None":

Make a note of your API key.
Site users and approvers
Site users
For website users to be able to create content using Contribute they will need to be members of a site user group called CONTRIBUTE. This is the group name set in the workflow process model and can't be changed.
Add users to the group and note down the group ID.
Approval users
Unlike standard iCM approvals, the approvers of content created via Contribute are also website users. The name of this approver group will be added to the contribute form.
Create an approver site user group, add the users who will carry out approvals to it, and note down the group name.
Create the configuration end point
The configuration for Contribute is held in an end point. There needs to be one configuration end point for each instance of contribute you set up.
Create the namespace
First create the group for your new end point. Configuration follows a naming convention of:
- "config" - The root group
- environment (eg "dev", "test", "prod") - This will already exist in iCM
- application name - A meaningful name for your instance of Contribute
- "getConfig" - The end point itself
In this example I'm setting up a new instance of Contribute for creating documentation. I'm working on the development site, so I've created a new group called "contributeDocs" in the "dev" namespace:

"contributeDocs" is the name I'll need to add to my contribute forms in the next section.
Copy the example end point
There's an example configuration end point at
Copy it and under the "Properties" tab, update the parent group to the group you created above:

Update the configuration
Now you can enter the information from the previous steps into your configuration.
Contribute End Point Configuration explains all of the options, but to get the minimum working you should enter:
- Your API key
- Your root article IDs (where content will be created). Each needs to be added to the rootArticleIds as an object, where "env" is the display text and "articleId" is the ID, for example:
rootArticleIds: [{
env: "Library events",
articleId: 123
}, {
env: "Town centre events",
articleId: 456
}] - Your contribute user group ID
- The ID of an article template that the submitted articles will use
- Your media group ID
- Your metadata group ID
Then save and publish your end point.
Copy and update the forms
Contribute uses three form to create, update and approve content. The forms are tailored to each instance of Contribute you create.
Copy the forms in the "Default" group into a group of your own, giving them meaningful names.

Update the form
The following fields need to be updated in your copy:
- Page 2 CONFIG default function - Add the name of your configuration end point's group as the "application"
- Page 2 PARENTARTICLE options function - Add the name of your configuration end point's group as the "configName"
- Page 3 Start Process - Add the name of your application again. Optionally add:
- The name of the form to approve the content, plus the site user group name of the approvers
- The name of the form to update the content
- The name of the form to copy the content (this can be the same as the form used to create)
Publish the form and update Self Service
Create an article using the Forms Service template and relate your contribute form to it. Secure the article to the user group you'd like to be able to use it. The users in this group should also be members of the CONTRIBUTE group who are eligible to start the contribute workflow.
There's no need to make the other forms available using articles on your site, these are linked to directly from workflow tasks
If you are using Self Service or User Requests, update those articles to include the contribute workflow process.
