Hi,
I’m looking to do a system audit and was hoping there would be a feature to list all the pages where a form exists. Does anyone know if this is possible?
Thanks
Hi,
I’m looking to do a system audit and was hoping there would be a feature to list all the pages where a form exists. Does anyone know if this is possible?
Thanks
Hi @Niall, if you’re familiar with the developer console in the browser, you can enter this slice of code while in your live app to return all views that have a type ‘form’:
const formViews = Knack.scenes.models.flatMap(scene =>
scene.views.models.filter(view => view.attributes.type === "form")
);
console.log(formViews);
You should then be able to see all attributes about those view keys, along with the scene key they are in:
Hope that helps!
This might help
This is a much better suggestion! Thanks @CarlHolmes.
Actually suggested by the amazing @CSWinnall - I had it in my Knack bookmarks list but had forgotten all about it
There is also the Definitions utility too:
Thank you both for the responses, very helpful!
That’s the one I rely on. I didn’t know about the other. Cool!
I’m pretty sure @NormandDefayette_CortexRD showed me this one.