You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I know that I can pre-populate a ConfiForm from the URL like so:
//<my server>/display/<space>/<confluence page>?cf_name=<form>&cf_values=<field1>:<value1>;<field2>:<value2>
Is there a similar URL-driven way to pre-populate the form with an existing entry to edit it? In this example value1+value2 would be uniquely validated and guaranteed to return only one entry (or possibly no entries... in which case it would be nice to create a new one).
I see that I can "edit" an entry by the following:
But my question was more about pre-populating my form with the previously saved info. Let's assume I don't know my previously saved ID. Would the optimal way to do this be via a "lookup and set value", against the same form?
This seems workable - but also hugely inefficient. I'm hoping there is a way to simply tell a form to prepopulate with an existing entry based upon my cf_name and cf_values fields rather than having to make all these steps?
Thanks for all your help. As always :)
Tis sounds overly complicated...
Not sure why you need all those IDtoUpdate and field definition rules... just set the id field right in the url
cf_values=id:<my entry id>
Also, to lookup for data in existing records please have a look at this demo