Hi,
In that example you skip steps 1. and 2. and instead use ShapefileFeatureTable to create a FeatureLayer, then follow steps 3., 4., and 5.
ShapefileFeatureTable Class
Cheers
Mike
What do you mean to publish as a service?
Then go load it?
Does this sample help? Feature layer extrusion | ArcGIS for Developers
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.