You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns all records with the state set to approved from the Form with the id = `formId` on the Umbraco page with the id = `pageId` as a `PagedResult<IRecord>`.
Returns all records with the state set to approved from the Form with the id = `formId` on the Umbraco page with the id = `pageId` as a `PagedResult<IRecord>`.
27
+
Returns all records with the state set to approved from the Form with the id = `formId` on the Umbraco page with the id = `pageId` as a `PagedResult<Record>`.
Returns all records with the state set to approved from the Form with the id = `formId` on the Umbraco page with the id = `pageId` as a `PagedResult<IRecord>`.
27
+
Returns all records with the state set to approved from the Form with the id = `formId` on the Umbraco page with the id = `pageId` as a `PagedResult<Record>`.
Returns all records from the Form with the ID = formId as a `PagedResult<IRecord>`.
59
+
Returns all records from the Form with the ID = formId as a `PagedResult<Record>`.
60
60
61
61
## The returned objects
62
62
63
-
All of these methods will return an object of type `PagedResult<IRecord>` so you can iterate through the `IRecord` objects.
63
+
All of these methods will return an object of type `PagedResult<Record>` so you can iterate through the `Record` objects.
64
64
65
-
The properties available on a `IRecord` are:
65
+
The properties available on a `Record` are:
66
66
67
67
```csharp
68
68
intId
@@ -77,7 +77,7 @@ Guid UniqueId
77
77
Dictionary<Guid, RecordField>RecordFields
78
78
```
79
79
80
-
In order to access custom Form fields, these are available in the `RecordFields` property. Furthermore there exists an extension method named `ValueAsString` on `Record` in `Umbraco.Forms.Core.Extensions`, such that you can get the value as string given the alias of the field.
80
+
In order to access custom Form fields, these are available in the `RecordFields` property. Furthermore there exists an extension method named `ValueAsString` on `Record` in `Umbraco.Forms.Core.Services`, such that you can get the value as string given the alias of the field.
81
81
82
82
This extension method handle multi value fields by comma separating the values. E.g. "A, B, C"
83
83
@@ -88,7 +88,7 @@ Sample script that is outputting comments using a Form created with the default
0 commit comments