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
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.