Skip to main content
Level 4
Mar 31, 2016 11:36 PM UTC
Solved

create / read / update /delete operations on a table or grid like component

Hi Gurus ,

 I'm trying to achieve a admin utility in AEM 6.1 where super admins can perform CRUD operations on a table  or grid like component . The component will not need any dialog capabilities and am planning to host the page with this component under /etc . The result of the operations will simple be in jcr as nodes /properties . 

Just wanted to find out if any one else has already achieved some thing similar and can point me to so that i need not start from ground zero on it ? 

 

Normally I'm planning to integrate jquery plugins to achieve this , is this the right way ? or any recommended approach  or plugins?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
Apr 1, 2016 2:16 AM UTC

Yes... You can use any plugins to create it either JQuery , AngularJS etc...

Example above mentioned my Scott, implements a similar admin util using angularJS

4 replies

smacdonald2008
Level 10
Apr 1, 2016 1:43 AM UTC

" super admins can perform CRUD operations on a table  or grid like component"

Look at how Lokesh wrote a similar tool for vanity URLs - it will point you in the right direction: 

https://helpx.adobe.com/experience-manager/using/vanitypath.html

In this example, Lokesh built it as an additional view under Tools in the Touch UI. 

Translate
Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
Apr 1, 2016 2:16 AM UTC

Yes... You can use any plugins to create it either JQuery , AngularJS etc...

Example above mentioned my Scott, implements a similar admin util using angularJS

Translate
kautuk_sahni
Level 9
Apr 1, 2016 4:18 AM UTC

Hi

This is an excellent article to be use as a reference.

We can definitely use Jquery / AngularJS anything at front-end. The basic concept is to communicate with DB vis REST API or Directly calling the functions.

I don't see any harm in using them. Only thing one should keep in his/her mind is, if CRUD is done via REST APIs, then in that case, we should make sure not anyone should able to assess our data from client side. We should have some authentication security checks (May be sending header info with Ajex calls to validate the user etc).

Excellent article by Lokesh and Scott.

 

Thanks and Regards

Kautuk Sahni

Translate
Kautuk Sahni
KrisgumAuthor
Level 4
Apr 3, 2016 1:12 AM UTC

Thanks guys. Definitely have some concrete direction now .

Translate