Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Has anyone tried to use Confiforms in conjunction with BMC Footprints?

Curtis Freudigmann
Contributor
October 3, 2018

My company uses BMC Footprints ticketing system. I created a number of forms using Confiforms which when submitted gets emailed to our Help Desk. Once through Help Desk tickets get created within Footprints. All of my forms require the attachments macro so users can add attachments to requests. The issue I am getting is that when this attachment macro is present, our tickets come through with a block of Javascript code at the bottom. (this block of code is very ugly within our tickets and our help desk has rules set in place and small portions of this code is matching these triggers and assigning the tickets to entirely wrong teams) I was able to use HTML macro within Confiforms to "hide" the attachments macro but when I do this, no attachments get sent through.

Has anyone experienced this or anything similar?

I have run out of ideas, so any information would be helpful.

Thanks in advance,

-Curtis

2 answers

1 accepted

1 vote
Answer accepted
Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 9, 2018

How is your email is constructed? May I see? Or contact us via https://wiki.vertuna.com/display/VERTUNA/Support+Request+Form if there is some sensitive information you don't want to share with the whole world

Curtis Freudigmann
Contributor
October 10, 2018

Hey Alex,

Thank you very much for the response. When you ask "How is your email constructed?" Do you mean within Confluence, ie how is my IFTTT set up?

This is what I have for that:

confEmail.png

Please let me know if this is what you're looking for. Thanks again for the assistance.

Curtis Freudigmann
Contributor
October 10, 2018

As a side note the Registrations Control is in another area on the same page and looks like this

confEmail2.png

Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 12, 2018

We will try to make the email cleaner when only file field types are used (which are added as attachments anyway, so we don't need to process this template through rendering)

 

This shall allow us to have a much cleaner email output

Like Артур Водич likes this
Curtis Freudigmann
Contributor
October 12, 2018

Alex, I have another question regarding the attachments with Confiforms. I have my forms set up to email attachments using the IFTTT macro as you know. However I just noticed that these attachments are also being saved to the page that houses the form. Is there a way to delete these attachments from the space once the email is sent? I see an option in the IFTTT macro for deleting an attachment but when looking through the documentation, this option is not present.

This is where I was looking:

https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions

And as a side note, with your previous message referring to template rendering, is that something you will be adding to a future release? Is there a way I can track the progress on that?

As always thanks for the help!

Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 12, 2018

Yes, we will add it in the upcoming release, right

 

And yes, files are attached to the page. This is how it works. You can though easily remove uploaded attachments with delete attachment IFTTT action, giving attachments Ids in a comma separated list

In your case the parameter will look like something like this

[entry.Attachments.asAttachments.transform(id).asList]

 This reads as follows: get the field "Attachments" transform to Confluence attachment objects and take their IDs and put it into the comma separated list

Curtis Freudigmann
Contributor
October 17, 2018

I have given this a try and it does delete attachments but I get an error if a user does not add an attachment. If the user needs to submit feedback or submit a service request, there is a chance they will not need to add an attachment. When the form is submitted with

[entry.Attachments.asAttachments.transform(id).asList]

 all attachments that were added get deleted but if there weren't any attachments added then I get this error

Could not parse the attachment parameter to attachmentId. Parameter given:

The ifttt to email still hits and I get the email.

Is there a way to have it check if there is an attachment, then if so delete those attachments from the page?

Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 17, 2018

Well, make this IFTTT conditional!

Add condition to be something like

!Attachments:[empty]
Curtis Freudigmann
Contributor
October 17, 2018

This works perfectly, I forgot about the condition section in the ifttt macro.

Thank you for such a timely response.

Lucinda Stroud August 12, 2019

I might suggest adding the instructions above on how to transform the field entries to Confluence attachment objects and take their IDs and put it into the comma separated list into the official documentation of the Delete Attachment IFTTT.  I had looked all over the documentation for this info and only found it through searching outside of Confiforms wiki.

0 votes
Curtis Freudigmann
Contributor
November 19, 2018

Hello @Alex Medved _ConfiForms_ In this thread we discussed how the Attachment macro was not rendering properly and was displaying a big block of javascript code in our ticketing system which looks very ugly and causes some problems. You had mentioned that this would be something that will be addressed in your next update. I didn't see anything about this in the last update notes, I was wondering if there is any information you can give me on the status or progress of this.

Thanks!

Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 19, 2018

We have fixed it, I believe :-)

Like Curtis Freudigmann likes this
Curtis Freudigmann
Contributor
November 30, 2018

Hey @Alex Medved _ConfiForms_, The latest ConfiForms update fixed my javascript rendering issue but now I have departments reporting that they do not have access to some of the forms which are defined on their pages. Forms that worked before the upgrade, now show this error:

No form found

We could not find a form with the name 'formName' on the page

Page has no ConfiForms Form macros defined.

After looking on the page the form is there, it is named properly and the registration controls are tied to the correct form. I was wondering if you have received this error before or if there was any way you could assist me. (sorry for adding to this thread, I can start a new thread if needed)

Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 30, 2018

Do they have access to the page where the ConfiForms Form is defined?

Curtis Freudigmann
Contributor
November 30, 2018

Yes. As a Confluence Administrator I can go to the page, look at the edit page and see that everything is as it should be. Then when I click the Cog on the page and go to view stored information it tells me that there is no form defined on the page. Edit: I can also click the Form Button and the dialog box comes up with the form but then when I click to view the information there it errors out.

Like Артур Водич likes this
Curtis Freudigmann
Contributor
November 30, 2018

For visual reference:

The first picture shows the error in the background stating the form cant be found, even though the form can be seen after clicking the button.

The second picture shows the form structure.

form1.pngform2.png

Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 30, 2018

Could you please open a ticket with us, https://wiki.vertuna.com/display/VERTUNA/Support+Request+Form

And provide the storage format for this page

 

Thank you

Alex

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events