cmndrbensisko / LocalLayer

The LocalLayer Widget for ArcGIS Web AppBuilder is intended to allow the direct addition of ArcGIS for Server Mapservices to an ArcGIS Web AppBuilder application, without needing to wrap the desired services in an ArcGIS Online/Portal Web Map.
MIT License
55 stars 26 forks source link

LDAP Alternate for Edit Tracking #58

Open cagridural opened 7 years ago

cagridural commented 7 years ago

Hi. This is a great widget and helped us a lot on using web app builder. First of all I would like to thank you for this. And would like to ask you a question. I'm not sure if this is the right place thus I can post it somewhere else if you want me to.

So here is the question. Is it possible to use edit tracking instead of LDAP? We would like to edit tracking with our own system without LDAP. Users will be recorded in a database. Do you have any suggestions about this scenario?

Thanks in advance.

cmndrbensisko commented 7 years ago

At a basic level, editor tracking with the locallayer widget is powered by the index page 'getting' a username for the current user and populating the _llwUser variable with that value. However you populate that username is up to you; The example given in Widget.js uses asp code:

But this could just as easily be a php script as well. I hope this is enough to get started