How can I add comments in my file comments definition by IFTTT ? (add, not overwrite)

Pablo de Dios July 22, 2022

I have a file definition with type file "Comments" I want add comments by IFTTT but I dont want overwrite, i want only add

1 answer

0 votes
Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 28, 2022

Hi

The question is tagged with "cloud" tags, but the comment field in ConfiForms exists only on server/dc version

So, I will answer this for server/dc version with a little demo (cannot upload a video, so there will be screenshots)

 

comments-ifttt-1.pngcomments-ifttt-3.pngcomments-ifttt-2.png

With an example configuration

<ac:structured-macro ac:macro-id="b4e7b898-3562-4671-9e18-4ac3321eb9c9" ac:name="confiform" ac:schema-version="1">
<ac:parameter ac:name="formName">f</ac:parameter>
<ac:rich-text-body>
<ac:structured-macro ac:macro-id="acb848e0-84f8-4608-8a70-b7d52a0d565f" ac:name="confiform-entry-register" ac:schema-version="1">
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<p>
<ac:structured-macro ac:macro-id="869a7cca-4b9a-48ab-a0e5-390b22e14f14" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">c</ac:parameter>
<ac:parameter ac:name="fieldLabel">c</ac:parameter>
<ac:parameter ac:name="type">comment</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="a9242981-5a04-47fd-b5fd-7bdfdd8134e1" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">addComment</ac:parameter>
<ac:parameter ac:name="fieldLabel">Add comment?</ac:parameter>
<ac:parameter ac:name="type">checkbox</ac:parameter>
</ac:structured-macro>
</p>
<p>
<br/>
</p>
<ac:structured-macro ac:macro-id="8f7b26cb-7a12-4f7a-8814-01702562728d" ac:name="confiform-ifttt" ac:schema-version="1">
<ac:parameter ac:name="condition">addComment:true</ac:parameter>
<ac:parameter ac:name="action">Create ConfiForms Entry</ac:parameter>
<ac:parameter ac:name="event">onModified</ac:parameter>
<ac:parameter ac:name="title">entryId=[entry.id]&amp;c=Another automatic comment [entry._now.formatDate]</ac:parameter>
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
</ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="9eff1d39-c518-49cc-8db1-a291b138ad80" ac:name="confiform-table" ac:schema-version="1">
<ac:parameter ac:name="formName">f</ac:parameter>
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>

Hope it helps

Alex

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events