Delay in Custom Table data being available

David Jones asked on August 11, 2020 20:15

When using a Custom Table for user input there seems to be a delay in being able to view the data. Is this common?

Also when I use the Custom Table form there is a Rich Text Editable box included in the form. You have to hit the submit button twice to get the "The changes were saved" message. Again is this common?

Correct Answer

David te Kloese answered on August 12, 2020 08:49

Hi,

Since you tagged this with 'repear with custom query' (I assume repeater), it's most likely you've either cache on the Web Part or on the Page itself, or perhaps even in custom code if it's custom.

You need to check first where you've set this cache. And then you can add in some Cache dependencies.

docs.kentico.com/k12/.../setting-cache-dependencies

something like:

customtableitem.customtable.sampletable|all

Where the customtable.sampletable is the codename of your custom table.


In regards to your second question does it show any errors (either event log or browser -> script) the first time you hit the button? Is it actually saved if you check in another window first before hitting the save button again? It might be still loading without feedback.

1 votesVote for this answer Unmark Correct answer

Recent Answers


David Jones answered on August 12, 2020 13:36

Thank You very much for your assistance. It worked perfectly!!!

0 votesVote for this answer Mark as a Correct answer

David Jones answered on August 12, 2020 20:23

I seem to have spoken to soon. Is there anything additional that has to be done other than just adding the above information to the Cache Dependencies property?

0 votesVote for this answer Mark as a Correct answer

David te Kloese answered on August 13, 2020 09:13

So what is happening?

What dependency did you add where?

Could it be multiple cache layers? Both on the Template and on the Web Part for instance...

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.