/AWS1/CL_WIS=>UPDATECONTENT()
¶
About UpdateContent¶
Updates information about the content.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_KNOWLEDGEBASEID
TYPE /AWS1/WISUUIDORARN
/AWS1/WISUUIDORARN
¶
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN
IV_CONTENTID
TYPE /AWS1/WISUUIDORARN
/AWS1/WISUUIDORARN
¶
The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
Optional arguments:¶
IV_REVISIONID
TYPE /AWS1/WISNONEMPTYSTRING
/AWS1/WISNONEMPTYSTRING
¶
The
revisionId
of the content resource to update, taken from an earlier call toGetContent
,GetContentSummary
,SearchContent
, orListContents
. If included, this argument acts as an optimistic lock to ensure content was not modified since it was last read. If it has been modified, this API throws aPreconditionFailedException
.
IV_TITLE
TYPE /AWS1/WISCONTENTTITLE
/AWS1/WISCONTENTTITLE
¶
The title of the content.
IV_OVERRIDELINKOUTURI
TYPE /AWS1/WISURI
/AWS1/WISURI
¶
The URI for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of content. To remove an existing
overrideLinkOurUri
, exclude this argument and setremoveOverrideLinkOutUri
to true.
IV_REMOVEOVERRIDELINKOUTURI
TYPE /AWS1/WISBOOLEAN
/AWS1/WISBOOLEAN
¶
Unset the existing
overrideLinkOutUri
if it exists.
IT_METADATA
TYPE /AWS1/CL_WISCONTENTMETADATA_W=>TT_CONTENTMETADATA
TT_CONTENTMETADATA
¶
A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Wisdom, you can store an external version identifier as metadata to utilize for determining drift.
IV_UPLOADID
TYPE /AWS1/WISUPLOADID
/AWS1/WISUPLOADID
¶
A pointer to the uploaded asset. This value is returned by StartContentUpload.