Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a new item in the working catalog using provided metadata.
Syntax
HRESULT PFCatalogCreateDraftItemAsync(
PFEntityHandle entityHandle,
const PFCatalogCreateDraftItemRequest* request,
XAsyncBlock* async
)
Parameters
entityHandle PFEntityHandle
PFEntityHandle to use for authentication.
request PFCatalogCreateDraftItemRequest*
Populated request object.
async XAsyncBlock*
Inout
XAsyncBlock for the async operation.
Return value
Type: HRESULT
Result code for this API operation.
Remarks
This API is available on all platforms. The item will not be published to the public catalog until the PublishItem API is called for the item. When the asynchronous task is complete, call PFCatalogCreateDraftItemGetResultSize and PFCatalogCreateDraftItemGetResult to get the result.
Requirements
Header: PFCatalog.h