create / read / update /delete operations on a table or grid like component | Community
Skip to main content
Level 4
March 31, 2016
Solved

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

  • March 31, 2016
  • 4 replies
  • 1947 views

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.
Best answer by Lokesh_Shivalingaiah

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
April 1, 2016

" 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. 

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
April 1, 2016

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

kautuk_sahni
Community Manager
Community Manager
April 1, 2016

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

Kautuk Sahni
KrisgumAuthor
Level 4
April 3, 2016

Thanks guys. Definitely have some concrete direction now .