I inserted a new content control into the document.
Bind the custom XML to content control.
Insert the rich text content control inside the content control which is bound with custom XML.
Open the "Properties" dialog, add Title, check/select the options of 'Content control cannot be deleted' and 'Content cannot be edited' boxes and click on 'OK'.
Save the document and close the document.
Again open the document.
Note that the "Properties" which have applied to child/inner rich text content control got disappeared or properties are removed.
Why properties are removed?
Related
I'm using a DocuSign template that has multiple documents. I want to use composite templates to substitute a new document at runtime.
How do I determine the document ID that the template is using?
The template's first document usually has ID 1.
To see a specific document ID:
Open the template for editing
Click View for the document of interest
On the document's modal display: open the browser's menu and choose "Open image in new tab"
Inspect the new tab's URL. The number after /documents/ is the document ID. Eg URL .../documents/456/pages/... has document ID 456
I have created a 'content type' which incorporates a 'content part', which allows the user to upload an image.
Iv then created a 'form' which uses this image loader 'content type' to display on screen, from the front end menu.
However when the user tries to upload an image from the front end a text box displaying owner appears at the bottom. I want to set this to invisible. does anyone know how to do this?
thanks
Go to ContentTypes from dashboard,select your ContentType - click edit and then expand CommonPart - uncheck the Show editor for owner check box as shown in the picture :
I've told a view to open using an XPage, but how do I open that XPage in edit mode?
I will suggest that you buy and read the Mastering XPages book to learn the basics of handling views and documents in XPages. The book contains material that describes exactly what you are looking for (how to open an XPage in read and edit mode).
I will assume your question relates to the XPage being used to open the selected document from the view and not the view itself as it is not possible to either define an XPage to to launch a view or for a view to be in "Edit Mode"...
When specifying the document data source for an XPage it is possible to define the default action as being Edit Document or Open Document. This sets the "action" property of the data source
The XPage itself has a "readonly" property that can be set to a specific value or computed. This is not tied to a specific data source.
It is possible to add a panel container control to the XPage and set the "readonly" property of the panel. This will allow all the controls inside the panel to be rendered as editable or readonly.
views and xpages cannot be in edit mode, only document data sources can be in edit mode.
In addition to the readonly properties that Peter mentioned:
It is possible that a custom control got its own data source while the one from a parent (e.g. the xpage) is in edit mode. That's the mistake i make often while binding controls to data fields.
I created a custom control with a custom property. The property type is String and the Editor is Control Picker.
When I place the CC on an xPage and try to set the property the editor displays just fine, the only issue is that it seems to only list the controls on the CC and none of the controls on the xPage.
Is anyone else seeing this issue?
There is another editor in the list called the 'XPage Control ID Picker' this editor will list all the controls in the higher level XPage that the custom control is on.
I have one custom field. Here are different renderings of that page. In EditForm.aspx [through edit properties]
In DispForm.aspx [through edit properties]
I have overrided Display Mode and Edit Mode.
But when I put a field in a page layout the page does not show any result. It just shows Mode[Display] text.
You need to create a custom field control that uses your custom field type, to render content in a publishing page.
How to: Create a Custom Field Control -
How to: Create a Custom Field Type and Field Control