ProjectService.publishProjectItems Method

Publish the contents of source projects to target projects.
 

Parameters

targetProjectId

Type: String
The project ID to publish to.
itemIds

Type: Array
ElementType: String
The item IDs to publish.
publishOptions

Type: Object
(optional) The options are available:
     revisionPublishPolicy                   [type: dundas.filesystem.RevisionPublishPolicy, optional: true]     - (optional) The revision publish policy to be used.
     syncWithSource                          [type: Boolean, optional: true]                                     - (optional) A value indicating whether to remove items which exists in the target project but not in the source project.
     requireCheckedInBeforePublish           [type: Boolean, optional: true]                                     - (optional) A value indicating whether to enforce check-in before publish.
     ignoreWarnings                          [type: Boolean, optional: true]                                     - (optional) A value indicating whether to ignore any warnings and proceed with the publish.
     publishReferencedItemsInSameProject     [type: Boolean, optional: true]                                     - (optional) a value indicating whether the items which are referenced by the publishing items shall be published together, provided the referenced items belong to the same projects of the publishing items.
     entityCopyOptions                       [type: Object, optional: false]                                     - An object containing the values for the copyCubeData, copyContextualData, copyResourceData options.
 

Optional: True

Return Value


Type: jQuery.Promise
Value: dundas.filesystem.PublishResult
A promise object that is resolved when the call is complete. If successful, a dundas.filesystem.PublishResult object is returned.