Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,610
Community Members
 
Community Events
184
Community Groups

Confiforms Field Definition Rules

I can't get these to do anything.

I have a text field named "filetype"

When "filetype" is "docx", I want the field "logo", which is an attachments picker, to pick the first attachment, which is the Microsoft word logo.

I've tried

____________________

fieldname: filetype

Condition: filetype:docx

Action: Set Value

logo=1 (and logo=word_logo.PNG)

 

And a bunch of variations involving entry.logo and entry.filetype.

I also really have no idea what the difference between fieldname and [entry.fieldname] is.

 

1 answer

1 accepted

0 votes
Answer accepted
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.
Apr 05, 2023

Hi @Denver Thomas 

If you want to set the attachment picker then you need to set it to a value that is a valid attachment id

Do you know how to lookup the attachment id of the logo you want to set?

(the rest of the parameters are fine)

PS, fieldname is when you want to check the field name for some value, [entry.fieldname] is when you access the value of this field

Alex

Thank you. Yeah, I don't think I know how to lookup the attachment id (presuming this is something different than just the attachment file name (word_logo.PNG)). I thought there might be something like that which I needed.

PS, So would either [entry.fieldname]:somevalue or fieldname:somevalue work as a condition? Or are they fundamentally different? I still don't think I quite get it.

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.
Apr 06, 2023

I'll try to record a demo: http://recordit.co/DhowHfKM1Q (numeric value is the attachment id)

Hope it helps.

---

Or are they fundamentally different

Well, yes.. second, makes sense, while the first does not

See https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+Filters

That does indeed help, thank you!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events