You need to sign in to do that
Don't have an account?
Rohit SharmaG
Knowledge Archive
Hi Team,
Can we Archive Knowledge automatically based on custom field like- Expiration Date.
Or any other way to archive article auto.
Thanks,
Rohit Sharma
Can we Archive Knowledge automatically based on custom field like- Expiration Date.
Or any other way to archive article auto.
Thanks,
Rohit Sharma
See the Knowledge Dev Guide,
Archive the Master Version of an Article
Archives the master version of an article. The actions are defined by the field change you request on the resource. To archive
the master version, use "publishStatus":"Archived". To schedule a date for archiving, use "archiveScheduleDate"
: <date>.
URI
/services/data/v25.0/knowledgeManagement/articleVersions/masterVersions/<versionID>
Formats
JSON, XML
HTTP Method
PATCH
Authentication
Authorization: OAuth accesstoken
Parameters
Parameter Description
publishStatus Publishing status of the article. Use archived.
archiveScheduleDate Date to archive the article.
Example request body
Archive:
{
"publishStatus":"Archived"
}
Schedule for archiving (using GMT date format):
{
"archiveScheduleDate" : "2012-04-19T07:00:00.000+0000"
}
Example response body
HTTP status code 204 is returned when an existing record is updated.
Pg# 45
http://www.salesforce.com/us/developer/docs/knowledge_dev/salesforce_knowledge_dev_guide.pdf
Regards,
Ashish