Using "autopage" field, but copying the space key from the autopage field to another field using ConfiForms IFTTT rule to update
ConfiForms Form Definition | ||
---|---|---|
| ||
|
data stored
ConfiForms TableView | ||
---|---|---|
| ||
Storage format
Code Block |
---|
<ac:structured-macro ac:macro-id="68c5e914-105a-4ba8-9f65-4e7e3cbfdf8e" ac:name="confiform" ac:schema-version="1">
<ac:parameter ac:name="formName">f1</ac:parameter>
<ac:rich-text-body>
<p>
<ac:structured-macro ac:macro-id="a5bd82f2-d462-4541-ae41-77f7eb399912" ac:name="confiform-entry-register" ac:schema-version="1">
<ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
<ac:rich-text-body>
<p> </p>
</ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="56f2bab0-8745-4ac7-88d1-74e74b836ae4" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">apage</ac:parameter>
<ac:parameter ac:name="fieldLabel">Source</ac:parameter>
<ac:parameter ac:name="extras">true</ac:parameter>
<ac:parameter ac:name="type">autopage</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="9cbb5bd6-5d0a-4162-96d1-65f8086eeb88" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">sk</ac:parameter>
<ac:parameter ac:name="fieldLabel">Space key</ac:parameter>
<ac:parameter ac:name="type">text</ac:parameter>
</ac:structured-macro>
</p>
<ac:structured-macro ac:macro-id="41d899ff-81f3-4032-a73e-581bfe31b18f" ac:name="confiform-ifttt" ac:schema-version="1">
<ac:parameter ac:name="action">Create ConfiForms Entry</ac:parameter>
<ac:parameter ac:name="event">onCreated</ac:parameter>
<ac:parameter ac:name="title">entryId=[entry.id]&sk=[entry.apage.spaceKey]</ac:parameter>
<ac:rich-text-body>
<p> </p>
</ac:rich-text-body>
</ac:structured-macro>
</ac:rich-text-body>
</ac:structured-macro>
<p> </p>
<p>data</p>
<ac:structured-macro ac:macro-id="d0354f45-ed4a-49f1-ac25-41d41f92c416" ac:name="confiform-table" ac:schema-version="1">
<ac:parameter ac:name="formName">f1</ac:parameter>
<ac:rich-text-body>
<p>
<ac:structured-macro ac:macro-id="03f00934-ae9e-4c87-aced-3018e940835b" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="fieldName">apage</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="cae92667-8255-46da-863e-933919d51b23" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="fieldName">sk</ac:parameter>
</ac:structured-macro>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<p> </p>
<p> </p>
|