Documentation
Orbit

Public Facing Functions

###
| Method | Parameters |
| --------- |:------------|
| var OrbitAPI | `Class.create()` |
| setOptions | `function(options)` |
| setRedirectSysId | `function(sys_id)` |
| getRedirectSysId | `function(sys_id)` |
| getContentItems | `function()` |
| gs.addErrorMessage | `("Invalid content source")` |
| getContentItem | ` function()` |
| getHREF | `function(item)` |
| getContentItem | ` function()` |
| searchContentItems | `function(searchTerm, contentSource)` |
| getSources | `function()` |
| searchContentItems | `function(searchTerm, contentSource)` |
| getRefRecord | `function(contentGR)` |
| canEditRecord | `function(current)` |
| publishContent | `function(current)` |
| isReadOnly | `function(current)` |
| hasVersioning | `function(contentGR)` |
| getPublishedVersion | `function(current)` |
| getCheckedOutVersion | `function(current)` |
| isCheckedOut | `function(current)` |
| hasPublishedVersion | `function(current)` |
| getCommonID | `function(current)` |
| getAllVersionsQuery | `function(current)` |
| getVersionsCount | `function(current)` |
| isCurrentEditor | `function(current)` |
| checkoutContent | `function(current)` |
| cancelApprovalWorkflow | `function(current)` |
| getFormNotifications | `function(current)` |

### UI Actions
| Method | Parameters |
| --------- |:------------|
| showApprovalUIAction | `function(current)` |
| showCancelApprovalUIAction | `function(current)` |
| showPublishUIAction | `function(current)` |
| showUnpublishUIAction | `function(current)` |
| showCheckoutUIAction | `function(current)` |
| showRestoreUIAction | `function(current)` |
| showArchiveUIAction | `function(current)` |

### Helper Functions
| Method | Parameters |
| --------- |:------------|
| getEditorGroupID | `function(contentGR)` |
| getApprovalGroupID | `function(contentGR)` |
| getEditURL | `function()` |
| insertModalM2M | `function(obj)` |
| deleteRecord | `function(obj)` |
| deleteSelected | `function(obj)` |
| isOrbitTable | `function(table_name)` |
| getContentSource | `function(sourceID)` |
| getContentType | `function(typeID)` |
| getPageID | `function(sys_id)` |
| saveTemplate | `function(templateInput)` |
| getTemplateStr | `function(fields)` |
| getTemplates | `function()` |
| getFields | `function(templateStr)` |
| getSourceFromTemplate | `function(fields` |

Get Awesome Updates

Enter your email address for news and updates from NewRocket.

Thanks for your email!
There was an error, please try submitting again.