Skip to content

Dynamic Form - Error get field informations TypeError: item[field.InternalName].forEach is not a function  #1568

@ravaney

Description

@ravaney

Thank you for reporting an issue, suggesting an enhancement, or asking a question. We appreciate your feedback - to help the team understand your
needs please complete the below template to ensure we have the details to help. Thanks!

Please check out the documentation to see if your question is already addressed there. This will help us ensure our documentation is up to date.

Category

[ ] Enhancement

[x ] Bug

[ ] Question
Does this work across multiple sharepoint sites (providing the web absolute url). My form renders on the default site on sharepoint, but if I use another site and provide the site relative url as a prop, it doesn't render.

Version 3.14.0

Expected / Desired Behavior / Question

a rendered form for different field types

Observed Behavior

loading bar, no form rendered

Steps to Reproduce

                    context={webPartContext}
                    listId={listId.toString()}
                    listItemId={file.ListItemAllFields.ID}
                    onCancelled={() => { console.log('cancelled') }}
                    onBeforeSubmit={async (listItem) => { return false; }}
                    onSubmitError={(listItem, error) => { console.log(error) }}
                    onSubmitted={() => { console.log('submitted') }}
                    webAbsoluteUrl={siteAbsoluteUrl}

https://company.sharepoint.us/sites/originalSite .... // this works fine without web absolute url

if I change the site to https://company.sharepoint.us/sites/other-site from organization // I get the error with or without the webAbsoluteUrl as a prop

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions