• Cache properties that contain field references

    removeProp added for issue #644 setting all props on add for online now investigating if we can also just allow them to be set during add for portal

    Parameters

    • layer: any

      The data layer instance with field name references within

    • fieldInfos: any

      the object that stores the cached field infos

    • isView: boolean

      When true the current layer is a view and does not need to cache subtype details

    • isPortal: boolean

      When true we are deploying to portal

    Returns any

    An updated instance of the fieldInfos