Your layer has an associated join or relate that was created in the map. Publishing web feature layers with in-memory joined and related attributes is not supported.
Solution
Use the following solutions:
- If your layer and joined or related data are in the same geodatabase, create a relationship class between the datasets instead of using an in-memory join or relate. For more information about relationship classes, see An overview of the Relationship Classes toolset.
- If your layer has a join, you can do one of the following:
- Use the Create Database View tool to create a view. A view is a stored query that selects data from specified tables.
- Export your layer with the join to a new feature class and use this new feature class in the map.
- Select the layer in the Contents pane.
- Click the Data tab.
- Click the Export Features button in the Export group.
- Remove the joins from your layer.
- Select the layer or table in the Contents pane.
- Click the Data tab.
- Click the Joins menu in the Relationship group.
- Click Remove Join.
If your layer has a relate, you can do the following:
- Remove the relate from your layer.
- Select the layer in the Contents pane.
- Click the Data tab.
- Click the Relates menu in the Relationship group.
- Click Remove Relate.
- Remove the relate from your layer.
Additional information
For more information, see Analyze your GIS resource.