When I use the Calendar View and click on an event. All of the data is presented simple in a sequential list.
This form data is copied from another form, so it doesn't have Registration Control Form to copy the original formatting.
Is it possible to add a macro or edit the existing one to allow for a custom presentation of the data when the calendar detail dialog is viewed?
Hi @Eric Wilson
Welcome to this community!
You can have a custom layout for the CalendarView's dialog when you set it inside the ConfiForms Registrations Control (FormView) macro
(this is valid only for server/dc - for cloud it is not possible due to Atlassian's decision to drop support for nesting bodied macros in the editor)
Alex
HI Alex,
Can you elaborate on "when you set it inside the ConfiForms Registrations Control (FormView) macro"
I tried moving the CalendarView macro inside a Registration Control macro and the calendar no longer shows.
My original layout after adding the registration controls is:
Panel
- ConfifForms Registration Control
- ConfiForms TableView
- Edit Controls
- ConfiForms CalendarView
- ConfiForms Form Definition
I have the edit controls set to use the registration control layout. I have tried placing the TableView and CalendarView inside/under the Registration Control but can't seem to get the edit dialog or calendar detail dialog to use the registration control formatting.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You define custom layout in ConfiForms Registrations Control - https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+Form+with+custom+layout and place it inside the CalendarView
As I understand you want to have a non-default layout for the form from a calendar view, right?
BTW, this page shows which macros go where https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+app+detailed+view+over+the+plugin+macros
Hope it helps
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is it possible to use one Registration Control for everything? One for the initial registration form but also both the Calendar and Table Edit dialogs?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried to move the Coniforms Registration Control inside the CalendarView to test, but clicking the event still shows the default sequential list of data instead of the custom view in the registration control.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Take a look at this demo http://recordit.co/Pf3kuZ1zdz
Hope it helps
Storage format for the reference
<ac:structured-macro ac:macro-id="8af0423d-78d8-45f6-acc4-38368c082521" ac:name="confiform" ac:schema-version="1">
<ac:parameter ac:name="formName">myform</ac:parameter>
<ac:rich-text-body>
<ac:structured-macro ac:macro-id="8baec637-46d5-49ee-8299-7ebefdd00bb4" ac:name="confiform-entry-register" ac:schema-version="1">
<ac:rich-text-body>
<p>
<ac:structured-macro ac:macro-id="75a84f9a-0bef-447a-bd2a-795e1fabc5fc" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="overrideLabel">When?</ac:parameter>
<ac:parameter ac:name="fieldName">dd</ac:parameter>
<ac:parameter ac:name="withLabel">true</ac:parameter>
</ac:structured-macro>
</p>
<ac:structured-macro ac:macro-id="06230c65-7668-40e1-9c7b-7d1af81d6fa6" ac:name="info" ac:schema-version="1">
<ac:rich-text-body>
<p>
<ac:structured-macro ac:macro-id="0cc33e0a-e8ec-4f22-89be-da3ccbd3dcac" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="overrideLabel">With event description please</ac:parameter>
<ac:parameter ac:name="fieldName">t</ac:parameter>
<ac:parameter ac:name="withLabel">true</ac:parameter>
<ac:parameter ac:name="showLabelOnOwnLine">true</ac:parameter>
</ac:structured-macro>
</p>
</ac:rich-text-body>
</ac:structured-macro>
</ac:rich-text-body>
</ac:structured-macro>
<p>
<ac:structured-macro ac:macro-id="8876fc8e-e9aa-4473-9a19-3285cba3f632" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">dd</ac:parameter>
<ac:parameter ac:name="fieldLabel">date</ac:parameter>
<ac:parameter ac:name="type">date</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="1347743b-239b-4497-b63d-79e24a6fe98e" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">t</ac:parameter>
<ac:parameter ac:name="fieldLabel">t</ac:parameter>
<ac:parameter ac:name="type">text</ac:parameter>
</ac:structured-macro>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="ccb1ea9c-37e2-4d41-ab44-2ccf4b584312" ac:name="confiform-calendar" ac:schema-version="1">
<ac:parameter ac:name="showWeekNumbers">true</ac:parameter>
<ac:parameter ac:name="eventTitleFieldName">[entry.t]</ac:parameter>
<ac:parameter ac:name="groupingFieldName">dd</ac:parameter>
<ac:parameter ac:name="panelTitle">Some calendar here</ac:parameter>
<ac:parameter ac:name="formName">myform</ac:parameter>
<ac:parameter ac:name="placement">Dialog</ac:parameter>
<ac:rich-text-body>
<ac:structured-macro ac:macro-id="193a3c7f-8895-47bc-a189-3d6468cd56fe" ac:name="confiform-entry-register" ac:schema-version="1">
<ac:parameter ac:name="formName">myform</ac:parameter>
<ac:parameter ac:name="regControlLayout">true</ac:parameter>
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
</ac:rich-text-body>
</ac:structured-macro>
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.