Found 146 results for "scripting principal"
The search executed in 0.001517355 seconds. That's fast.
Gitana / 3.2 / Guide / Guide / ScriptingScripting Cloud CMS provides a server-side Scripting API that allows you to write custom actions, rules and behaviors that execute on the server. These scripts can be introduced at any time and do not require any server downtime. Developers can write scripts and hook them into Cloud CMS at any time to adjust how the product behaves and operates. The Scripting API consists of a set of server-side Scripting Objects that wrap your content and expose a select set of API service methods for your use.
Score: 20.068607
|
|
Gitana / 4.0 / Developers / Cookbooks / Scripting CookbookScripting Cookbook Getting Started To get started with Server-Side Scripting, please visit the Server Side Scripting page. Code Samples Here are some code samples of common data structures to help you get started. Increment a Property With this example, we want to keep track of a counter that tracks the number of updates made to a node. After a node is created, if the user clicks update ten times, we want to have a counter on the node that indicates it has been updated ten times. This script sho
Score: 16.26582
|
|
Gitana / 4.0 / Data Engine / Scripting / OverviewScripting Cloud CMS provides a server-side Scripting API that allows you to write custom actions, rules and behaviors that execute on the server. These scripts can be introduced at any time and do not require any server downtime. Developers can write scripts and hook them into Cloud CMS at any time to adjust how the product behaves and operates. The Scripting API consists of a set of server-side Scripting Objects that wrap your content and expose a select set of API service methods for your use.
Score: 13.1774235
|
|
Gitana / 3.2 / Guide / Guide / Cookbooks / Scripting CookbookScripting Cookbook Getting Started To get started with Server-Side Scripting, please visit the Server Side Scripting page. Code Samples Here are some code samples of common data structures to help you get started. Increment a Property With this example, we want to keep track of a counter that tracks the number of updates made to a node. After a node is created, if the user clicks update ten times, we want to have a counter on the node that indicates it has been updated ten times. This script sho
Score: 12.225065
|
|
Gitana / 3.2 / Guide / Guide / Scripting / PrincipalPrincipal Properties Name Type Description description string The Description of this document. id string The ID of this document. name string The name of this principal. properties object The properties for this document. title string The Title of this document. Methods stringify Usage string stringify() Arguments None Return Type Description string Examples In this code sample, we take the JSON for the given document and produce a string representation of it. var text = document.stringify(true
Score: 8.479553
|
|
PrincipalPrincipal Properties Name Type Description description string The Description of this document. id string The ID of this document. name string The name of this principal. properties object The properties for this document. title string The Title of this document. Methods stringify Usage string stringify() Arguments None Return Type Description string Examples In this code sample, we take the JSON for the given document and produce a string representation of it. var text = document.stringify(true
Score: 8.479553
|
|
Gitana / 3.2 / Guide / Guide / ConditionsConditions Conditions provide a way for Rules to evaluate their content and their environment prior to determining whether to proceed with the execution of their Actions. A Condition might be a simple check such as checking to see whether the current content item has a certain property value. But it also might consist of more complex logic chains utilizing and and or blocks. Cloud CMS provides a number of out-of-the-box Conditions: And Merge Node Has Attachment Or Property Changed Property Compa
Score: 7.8442845
|
|
Gitana / 4.0 / Data Engine / Behaviors / ConditionsConditions Conditions provide a way for Rules to evaluate their content and their environment prior to determining whether to proceed with the execution of their Actions. A Condition might be a simple check such as checking to see whether the current content item has a certain property value. But it also might consist of more complex logic chains utilizing and and or blocks. Cloud CMS provides a number of out-of-the-box Conditions: And Merge Node Has Attachment Or Property Changed Property Compa
Score: 7.8442845
|
|
Gitana / 3.2 / Guide / Guide / Application Server / URL Addressability / Principal URLsPrincipal URLs Principal Retrieval /** * Provides virtualized principal retrieval from Cloud CMS. * * This handler checks to see if the requested resource is already cached to disk. If not, it makes an attempt * to retrieve the content from Cloud CMS (and cache to disk). * * If nothing found, this handler passes through, allowing other handlers downstream to serve back the content. * * URIs may include the following structures: * * /static/principal/{principalId} * /static/prin
Score: 7.3827496
|
|
Gitana / 4.0 / Developers / Application Server / URL Addressability / Principal URLsPrincipal URLs Principal Retrieval /** * Provides virtualized principal retrieval from Cloud CMS. * * This handler checks to see if the requested resource is already cached to disk. If not, it makes an attempt * to retrieve the content from Cloud CMS (and cache to disk). * * If nothing found, this handler passes through, allowing other handlers downstream to serve back the content. * * URIs may include the following structures: * * /static/principal/{principalId} * /static/prin
Score: 7.3827496
|
|
Gitana / 3.2 / Guide / Guide / UI Developers Guide / Evaluators / context-principalcontext-principal If a principal (either a User or a Group) is being observed. { "evaluator": "context-principal" }
Score: 7.316476
|
|
Gitana / 4.0 / Developers / User Interface Customization / Evaluators / context-principalcontext-principal If a principal (either a User or a Group) is being observed. { "evaluator": "context-principal" }
Score: 7.316476
|
|
Gitana / 3.2 / Guide / Guide / Command LineCommand Line The Cloud CMS command-line client gives developers a way to work with their Cloud CMS tenant projects, applications, data stores and other resources from the command line. The CLI (command-line client) is a Node.js based command line tool that is very easy to use and available at no charge. Note: A valid Cloud CMS subscription is required to connect to Cloud CMS with the command-line client. This subscription can be a paid subscription or a free trial account. Getting Started To get
Score: 7.2194185
|
|
Gitana / 4.0 / Developers / Command Line Interface / OverviewCommand Line The Cloud CMS command-line client gives developers a way to work with their Cloud CMS tenant projects, applications, data stores and other resources from the command line. The CLI (command-line client) is a Node.js based command line tool that is very easy to use and available at no charge. Note: A valid Cloud CMS subscription is required to connect to Cloud CMS with the command-line client. This subscription can be a paid subscription or a free trial account. Getting Started To get
Score: 7.2194185
|
|
Gitana / 3.2 / Guide / Guide / TemplatesTemplates Cloud CMS supports the usage of templates at various points to generate presentation and output for things like emails, PDFs, web page components and more. Cloud CMS supports two template engines - Handlebars and Freemarker. In general, we recommend using Handlebars since the syntax is a bit easier. This document covers Handlebars and describes helper functions available in Handlebars that make processing simpler. Model Variables The following describes the internal structure of model
Score: 7.1221457
|
|
Gitana / 4.0 / Data Engine / Templates / OverviewTemplates Cloud CMS supports the usage of templates at various points to generate presentation and output for things like emails, PDFs, web page components and more. Cloud CMS supports two template engines - Handlebars and Freemarker. In general, we recommend using Handlebars since the syntax is a bit easier. This document covers Handlebars and describes helper functions available in Handlebars that make processing simpler. Model Variables The following describes the internal structure of model
Score: 7.1221457
|
|
Gitana / 4.0 / Developers / Command Line Interface / Transfer CommandsTransfer Commands The Cloud CMS command-line tool provides developers with a command-line driven mechanism that allows them to: export content from Cloud CMS as an Archive import content into new Cloud CMS environments using that Archive Archives consist of ZIP files that store a full capture of the exported content. Archives may consist of an entire snapshot export or they may be partial (spanning date ranges or changeset ranges in the case of Repositories). The Cloud CMS Transfer Services make
Score: 5.580843
|
|
Gitana / 4.0 / Developers / Command Line Interface / CommandsCommands The following commands are available:
Score: 5.4497995
|
|
Gitana / 4.0 / Developers / Command Line Interface / Modules CommandsModules Commands The Cloud CMS command-line tool provides developers with a command-line driven mechanism that allows them to: register and unregister user interface modules deploy and undeploy user interface modules User Interface Modules are deployed from public Git repositories (such as GitHub) and consist of AMD JavaScript modules. These modules contain JavaScript, HTML, CSS, a JSON configuration file any additional client-side assets that may be used (such as images). For more information a
Score: 5.4497995
|
|
Gitana / 3.2 / Guide / Guide / RulesRules Content Rules provide a way for you to wire in business logic behind the content graph. Once they're set up, rules run automatically as content is created, updated and deleted within your branch. Rules are content nodes with a JSON payload the describes the Conditions and Actions to be triggered. As with all behaviors, Rule nodes must implement the f:behavior feature. They must be bound to a node upon which to act (either a definition node or a content instance) using a a:has_behavior asso
Score: 5.324769
|
|
Gitana / 4.0 / Data Engine / Behaviors / RulesRules Content Rules provide a way for you to wire in business logic behind the content graph. Once they're set up, rules run automatically as content is created, updated and deleted within your branch. Rules are content nodes with a JSON payload the describes the Conditions and Actions to be triggered. As with all behaviors, Rule nodes must implement the f:behavior feature. They must be bound to a node upon which to act (either a definition node or a content instance) using a a:has_behavior asso
Score: 5.324769
|
|
Gitana / 3.2 / Guide / Guide / ActionsActions Cloud CMS provides an Action framework that lets you kick off Actions that perform content operations on your behalf. Actions are units of work that are typically fired off as a result of an event handler or listener. For example, you might register an Action that triggers when a piece of content is updated or when a workflow task transitions. The Action might do something like Send an Email or Fire off a Web Hook. The Cloud CMS Action framework aspires to provide complete units of work
Score: 4.251773
|
|
Gitana / 4.0 / Data Engine / Behaviors / ActionsActions Cloud CMS provides an Action framework that lets you kick off Actions that perform content operations on your behalf. Actions are units of work that are typically fired off as a result of an event handler or listener. For example, you might register an Action that triggers when a piece of content is updated or when a workflow task transitions. The Action might do something like Send an Email or Fire off a Web Hook. The Cloud CMS Action framework aspires to provide complete units of work
Score: 4.251773
|
|
Gitana / 3.2 / Guide / Guide / Workflow / Sample Workflows / Events ExampleEvents Example This workflow model demonstrates how you can use events in various ways. This workflow model is provided as an kind of reference for how handlers can be set up. It isn't intended to be particularly useful or functional beyond its purpose as a demonstration. { "id": "events", "title": "Events Example Model", "nodes": { "start": { "type": "start", "transitions": { "start": "node1" } }, "node1": {
Score: 3.6795115
|
|
Gitana / 4.0 / Data Engine / Workflow / Sample Workflows / Events ExampleEvents Example This workflow model demonstrates how you can use events in various ways. This workflow model is provided as an kind of reference for how handlers can be set up. It isn't intended to be particularly useful or functional beyond its purpose as a demonstration. { "id": "events", "title": "Events Example Model", "nodes": { "start": { "type": "start", "transitions": { "start": "node1" } }, "node1": {
Score: 3.6795115
|