Hello!
What we've got:
- a page with ConfiForms macros created according to the documentation
- the ConfiForms page contains all the created pages in a list (links to the created pages by IDs and URLs)
- the ConfiForms fields are multi-select and smart multi-select fields which values depends on the values of other fields (e.g. if the user chooses 'Europe' then the list of countries is limited to the European countries)
- the created page retrieves values from the ConfiForms page
Question. Sometimes the data changes and we make mistakes so the values should be changed. Is there a way to update values via the ConfiForms page?
Hi @Anna
If those values are stored in ConfiForms and your created pages use ConfiForms views then all you have to do is to change the value in the record
And that would be updated everywhere where it is used
Alex
Sorry I must've misled you. I mean the set of values used. For example, we have a page with values:
region: Europe
countries: UK, Germany, Italy
Now we want to add other countries to this list. We tried to change the value via the record of this page on the ConfiForm page, like via buttons ⚙ -> View/Edit stored data, and then add another country to the column. The record changed but only in the list, not on the page itself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How is this section is configured in the template?
region: Europe
countries: UK, Germany, Italy
It does not use the ConfiForms?
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It does. In particular, this is the case inspired by articles Using apply filter on dependent smart dropdowns + Using ConfiForms Field Definition Rules macro to reduce number of choices in a dropdown field based on the value selected in another field
The structure we have:
So the first FormDefinition contains data of all created pages and entered data. The second one just provides the custom values (as f1choices and f2choices in the article)
The example with Europe and Countries is only for the sake of a clear example. Due to the NDA I can't share actual values or purpose of this form
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Honestly, I dont understand what is the problem.
Seems like you have dynamic pages that use ConfiForms... so, changing values in corresponding records will be reflected automatically in the pages that use those records
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'll try to recreate the case from scratch. Maybe this time it will work out and I come back to you with the results. If not at least I'll be able to share some code with you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello! Sorry for such late news. We've tested this scenario and found out that some articles update their values according to changes in the table. It didn't work at all back when we only started using CF but now it's almost fine.
The thing we've found out is that it doesn't work consistently. Previous bug reproduces now and again randomly. For example, we tested changes for two articles created with the CF template one after another in the same space:
- Article 1: created on March 15, space N
- Article 2: created March 15, space N
When we change value via the CF table for Article 1, it displays the changes immediately. When we do the same to Article 2, nothing happens: values are changed in the table, yet the article displays the previous ones. Any other attempt to change values fails.
Is there a way to fix it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.