A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Hi,
You probably should use the IFormRepository and IFormDataRepository interfaces to retrieve forms.
Then you should be able to do:
var forms = _formRepository.Service.GetFormsInfo(null);
foreach (var form in forms){
...
}
Paul
I'm trying to get all the forms from the content repository and am trying this:
But I get this error on `GetItems`:
EPiServer.Core.InvalidPropertyValueException: 'Property string too long, max {1} chars'
Am I pulling this right? Seems odd to be getting this error on items that are already created.