James, The way you are attempting is not going to work. Local shapefiles are not supported OOTB. There is a widget in the code gallery that allows the end user to add a shapefile at runtime.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.