Select to view content in your preferred language

Error 00134 - Sharing Feature Class with Attribute Rules to Portal

746
1
Jump to solution
09-15-2021 08:16 AM
AdminAccount2
Frequent Contributor

Hey all,

I have a simple arcade expression that calculates an area name string to a point that falls within that area. I'm trying to publish the feature service from Pro 2.8.3, to Portal. The two datasets (point, and poly) are registered datasets on Server 10.8.1.

 

 

 

var outerGeom = FeatureSetByName($datastore, "Test_Areas", ["name"])
var featureWithin = Intersects(outerGeom, Geometry($feature))

if(Count(featureWithin) > 0) {
  var layer = First(featureWithin);
  return layer.name;
} else {
  return null;
}

 

 

 

I am following the instructions on Share Datasets with Attribute Rules. At step 5, under "Share datasets with attribute rules", it mentions that I have to publish the referenced registered data as a feature, in addition to the map image layer. Am I interpreting that correctly? 

When I attempt to publish the two features as a web layer, I get an error, suggesting that referenced data is not compatible. To be clear, these datasets are not yet feature services; they reference data stored on the server.

AdminAccount2_0-1631715624929.png

AdminAccount2_1-1631716221254.png

(same is true with the polygon feature)

The referenced data store points to a folder on the server, where my FGDB (along with several other active registered FGDB's) is/are contained. Can someone help me to understand what it is that I'm doing wrong?

 

Thanks in advance... -MG

0 Kudos
1 Solution

Accepted Solutions
AdminAccount2
Frequent Contributor

I republished my data from our org's enterprise geodatabase via a SQL Server connection. This resolved the issue.

View solution in original post

0 Kudos
1 Reply
AdminAccount2
Frequent Contributor

I republished my data from our org's enterprise geodatabase via a SQL Server connection. This resolved the issue.

0 Kudos