Esri / Esri/solution.js

Can we determine or force a table name for features?

Open
#483 0 comments 0 reactions 0 assignees View on GitHub
A - enhancement C - Behavior D - Investigative Work
Dominant language
TypeScript
Stars
48
Forks
16
PR merge metrics
No merged PRs in 30d

Description

When a service is created from a CSV or xlsx file, it has the ability to be overwritten.

![f57dd7b4-d754-4fc3-baf9-a01c3ba8eaae](https://user-images.githubusercontent.com/11777080/94195376-c5b0b400-fe67-11ea-87de-e84a1a19bbfc.jpg)

This feature service has an accompanying xlsx file which contains the data for the service. After templatization and deployment, this connection is lost and the overwrite capability goes away.

It appears this is occurring because the adminLayerInfo setting in the JSON doesn't contain a table name. See sample below.
```
{
"adminServiceInfo" : {
"adminLayerInfo" : {
"tableName" : "db_15533.user_15533.POLICE_PERSONNEL_POLICE_PERSONNEL",
"geometryField" : null,
"xssTrustedFields" : ""
}
}
}
```

Is there a way for us to templatize this by either forcing a unique table name or reading the table name of the deployed xlsx file?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.