Report Error No Primary Key
I'm getting an error when I try to use the "Create A Report Link" from the Feature Details pop-up. "Report Error: Features in FeatureSet did not contain a valid Primary Key attribute.". The same report works fine from the Site's REST endpoint, or if opened from a workflow using the Report Activity.
-
Hi Jeff,
How did you get those features into the feature details window? Is it the results of a query (workflow) or identify? Global search? Does your layer have the OBJECTID field hidden somehow?
If you run Fiddler while trying to create a report, you should be able to capture the request that is sent to Essentials. You can than open that in a new window (switch the response type to f=html from f=json) and see if the viewer is sending enough information to Essentials to generate your report.
Regards,
-Malcolm
0 -
I'm also getting this. In the fields tab for the layer in Manager I made OBJECTID visible, and the error went away. Why is this? I really don't want users to see that field...
0 -
I am getting the same error when Identifying a parcel and then trying to run a report.
I added the ObjectID as visible, but I am still getting the error... version 3.15 and svl 1.9
0 -
I had this error after overwriting the service that had the report. Removing the report and re-adding it to the layer in manager fixed this issue for me. 0
Please sign in to leave a comment.
Comments
4 comments