I often use stacks of grouped elements to detail/organize widgets by feature classes. I would be helpful to have the ability to apply actions to stack elements to bring that element to the foreground of a stack when a feature class is selected in another widget (map, list, etc). An example of how I'm using a stacked group can be found in this post. Have a stack of elements. the stack becomes the target for an action. each element in the stack would be selectable as the "focused" element within the sub menu for that action.
... View more
I was able to create a Feature Layer using the create workflow above. I'm also able to publish Feature Layers from an ArcPy script as well. The call to publish a feature service after upload is what seems to be the issue. If I don't have the ` Publish this file as a hosted layer` checkbox marked, the shapefile will upload correctly and when re-downloaded have the correct data in it. Is there a way to check the relational DataStore itself is set up correctly beyond validating in the server manager? additionally, I ran the validate federation query in portal admin and go the following results (I replaced the url in the output with `<FQDN>` manually): Status: success
ArcGIS Server administration URL 'https://<FQDN>/server' is accessible.
Validating hosting server.
ArcGIS Server 'https://<FQDN>/server' version matches with Portal for ArcGIS.
Verified that server has an ArcGIS Data Store registered as a managed database '/enterpriseDatabases/AGSDataStore_ds_aaukmt7a'.
The server managed database '/enterpriseDatabases/AGSDataStore_ds_aaukmt7a' validated successfully.
Validated that the ArcGIS Server site is not in read-only mode.
Configured missing offlinePackaging helper services with Portal for ArcGIS.
Restarted OfflinePackaging service in the hosting ArcGIS Server.
Validated that the publishing tools service of ArcGIS Server site is started.
... View more
Any idea how to debug a GPServer task/job? I'm not able to publish a hosted feature service from a shapefile uploaded to the portal, but I cant seem to find out why it failed. I just get the following error in the logs: Failed to publish item 'https://<FQDN>/server/rest/services/Hosted/<Uploaded_Layer>/FeatureServer' (id:6859b4abc8e443a699c6ef29d0d4c520). Failed. Failed to execute (Publish Portal Service). Failed.. Job ID: 'jdc21ba2e0bf242a1a8beb90b57fe63a2' Job status for 'https://<FQDN>/server/rest/services/System/PublishingTools/GPServer/Publish%20Portal%20Service/jobs/jdc21ba2e0bf242a1a8beb90b57fe63a2', status: 'failed', message: 'Failed. Failed to execute (Publish Portal Service). Failed.'. Workflow to reproduce: From Content tab in portal, Add Item > From your computer > Select zipped shapefile > fill out fields (tag not shown in image below but was filled in) > Add. After processing, I'm taken to the Feature Layer (hosted) page and get a small error message in the upper righthand corner. The Hosted Feature Layer will show up in my content list but cannot be added to used anywhere. My Enterprise instance is v10.8.1, Basic Deployment, Federated with a Server using a relational DataStore. Error Codes are both 219999. I've tested with 3 different shapefiles and same result. I am _however_ able to succesfully publish a hosted feature service using the same shapefiles if done through Pro2.2 or via an ArcPy.GIS script.
... View more