13.0 Collaborative Editing¶
13.1 Overview¶
web.alive provides its users with the ability to collaborate on the editing of documents. Users will be able to see the changes that are being made by other users instantaneously and on real-time. The content designer can easily add multiple instances of public documents (called "public pads" in the web.alive parlance) that users can collaborate on editing.
13.2 Adding a "Public Pad"”¶
The following steps explain how to add and configure "Public Pads" in the level:
- Follow the steps in Chapter 9.0 to create a web rendering instance (Make sure that an instance of the "WebActor" is created).
- Open the the "WebActor" properties. For the property "PadName" under the group "PublicPad" one of the following has to be done:
- If this a a new "WebActor", then this property will be populated automatically and nothing to be done by the content designer.
- If it is not a new "WebActor" and the property is blank, then a value that is unique across the level , with relation to other pads, has to be assigned.To guarantee the uniqueness of the "PadName" across the web.alive servers, web.alive will automatically prefix , in run-time, the
the "PadName" with server unique "SubscriptionID". In other words in run-time the unique name of the pad will be formulated as
follows:
<ServerSubscriptionID><PadName>
- Place an instance of the trigger "EtherpadLookAndUseTrigger" appropriately, and make sure to set its "Event" property (under the "events" category) to match the corresponding "WebActor's" value of the "Tag" property(under the "events" category).
Please note that it is permissible to give the same "PadName" to multiple pads in the level if the intension is to have the same pad appear on multiple web renderers.
