AnsweredAssumed Answered

How to access secure feature layer through javascript api

Question asked by kamalmtxb2b on Jul 19, 2017
Latest reply on Feb 26, 2018 by mike.robb

Hi,

I have created a feature service layer on my arcgis online portal and hosted it there also. Now I want to use this feature service layer on map through arcgis javascript api v3.2. Now I want to pass username and password through code and can access feature service layer as I don't want to ask credential from user.

 

 

Can you please provide me some sample code in ArcGIS API JavaScript 3.20.

 

Thanks,

Kamal

Outcomes