AnsweredAssumed Answered

create feature layer from existing layer - error

Question asked by on Apr 19, 2018
Latest reply on Apr 30, 2018 by KGerrow-esristaff

I am trying to create a new hosted feature layer from an existing hosted feature layer.  The purpose is for a new project in collector that uses the same layers but is a completely separate dataset in a different location.  I go through The Create > Feaure Layer > From Existing Layer approach:



But I get this error when I try:


Error Unable to add feature service definition. Invalid definition for System.Collections.Generic.List`1[ESRI.ArcGIS.SDS.Metadata.LayerCoreInfo] Exception has been thrown by the target of an invocation


Does anyone know why this might occur?  The Feature Layer actually contains multiple layers and related tables.  Is this part of the issue.  And also is this the easiest way to approach to make a copy of an online dataset for use in collector?


It is worth adding that we normally copy layers by creating a new service from arcmap or arcpro but this does not maintain the popup configurations, visibility range,  and other settings that would be good to keep fixed and not have to recreate them every time.