since ‎15-08-2014
‎10-12-2019
ashtrick
Level 2
Re: Page/Template level authoring/configuration
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Thanks Scott for the reply.I have got few config params like API key, Service URL etc which should be configured by only admin/application support and not by content Authors. How will I restrict this if I add everything on to dialog?Thanks

Views

155

Likes

0

Replies

0
Page/Template level authoring/configuration
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
I'm not sure which way to proceed.I have a page/template which has an Angular application. This is fully data driven page, that is the reason why it is created in AngularJS.Now, there is lots of configuration changes to be done for this page, say, all of the elements in the below JSON needs to be configured for this application to work. Could someone please suggest on how to implement this so that all these configurations can be added by the authorsNOTE: filters, autocompleteFilters, distances a...

Views

185

Likes

0

Replies

2
Re: packages not getting uploaded in maven build
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Do you need to connect to your server through proxy from the Jenkins box? If not, try adding falsein the configuration

Views

595

Likes

0

Replies

0
Re: Separate configuration page for Component
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Thanks al.ber.to for the help !

Views

223

Likes

0

Replies

0
Separate configuration page for Component
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Hi,I have a component (say a carousel) to build. This Carousel can have (for example) 'n' number of images (1 for mobile and 1 for desktop) and each image/slide has rich text separate for mobile version and desktop version, links etc.. This makes it difficult to author everything in dialog.So, I would like to create a configuration page where users can drag and drop a component. This component is ONE slide of the carousel. This contains richtext, links etc.. Thus authors can drag and drop any nu...

Views

384

Like

1

Replies

4
Re: component in sidekick, but will not appear on page
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Looks like you have multiple div with the same id ??

Views

166

Likes

0

Replies

0
Re: CREATE RESTFul service in AEM 6
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Hi Scott,I think I didn't explain the situation in detail.http://abc.com/bin/myServlet/mycountry - returns list of countries which is authored listThe second service to return list of regions are based on the country list returned by the first service. So, it is not feasible for me to create / modify the servlets whenever authors add or delete countries. In short, "uk" is the parameter passed to the servcice. So I will have REST URLs like below that will return regions within those countrieshttp...

Views

683

Likes

0

Replies

0
Re: CREATE RESTFul service in AEM 6
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Hi Jörg,Thanks for the information. That was very helpful and now I know what to implement.So to summarize, I can create a servlet with a particular path (bin/location) and then access the servlet with selectors specifying whether to return countries or regions and their ids if needed as below:http://abc.com/bin/location.json - Returns all countrieshttp://abc.com/bin/location.regions.uk.json - Returns all regions in UKThanks.

Views

695

Likes

0

Replies

0
Re: CREATE RESTFul service in AEM 6
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Thanks Scott for the reply and guiding me on the right direction.So, Sling Servlet is the best way to implement this. I know that AEM has ability to develop mobile apps, but our mobile apps have been developed by a third party and is in the last stage.Coming back to my question, say I have the path defined in my servlet as "/bin/myServlet", I will be accessing this servlet with the following URLhttp://abc.com/bin/myServletNow, how do I pass the parameters to the servlet in a RESTful way? like..h...

Views

799

Likes

0

Replies

0
CREATE RESTFul service in AEM 6
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Hi, I have already done some investigation on how to do this.. but, no luck so far.. Any help would be much appreciated.I need to CREATE a Rest Service in AEM that will be accessed by a mobile application. The service should perform actions like return list of countries supported, return list of regions in the country etc.. in JSON formatSo, the URLs will be something likehttp://abc.com/myservice/countrieshttp://abc.com/myservice/regions/uk I need these REST services to be created in AEM as thes...

Views

3.4K

Likes

0

Replies

6
Re: Access serverside from client JSP
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Thanks Scott. That was really helpfulFor those wondering what the other thread is, here is the linkhttp://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__udal-hi_i_have_alreadyd.html

Views

136

Like

1

Replies

0
Access serverside from client JSP
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Hi, could someone please suggest the best way of accessing accessing serverside from a client JSPI need to return a list of URLs of images in DAM to the Javascript (ajax call) depending on certain parameter. What is the best way of doing this? SlingServlet?Thanks

Views

159

Like

1

Replies

2
How to configure page level configuration - AEM 6?
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Hi All,I have a store locator page, integrated with Google maps. The front-end functionality is developed in AngularJS. There are different labels that needs to be displayed in the page, which has to be authorable. The approach in my mind is to create a template called "Store Locator" which will have the JSP/Sightly template to render the page.How do I make the labels and text on the page which is rendered through AngularJS authorable? Where do I provide the functionality for authors to edit the...

Views

288

Likes

0

Replies

1
Re: Application level and Class level logging - change level on the fly ?
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Thanks Kalyanar for the informationCheers,-A

Views

159

Likes

0

Replies

0
Application level and Class level logging - change level on the fly ?
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Hi All,Is there a way to handle application level logging, ie, all logs from the application should be written to a specific log file and also the log level needs to be defined. We should be able to change the log level (INFO to DEBUG) when the application is running.I know adding entry to Apache Sling Logging Logger Configuration will create logs and the log level can be manages as well. Is that the right way of doing it? Or this should be used to set logging for class level logs only?Thanks

Views

207

Likes

0

Replies

2
Re: How to maintain custom configurations for project in different environments?
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Problem with that approach is, we have got application support/management guys who has access to production and does the support. And there are some values specific to production environment that shouldn't be accessible to developers. These values needs to be added to the production environment directly.What I have done to overcome this issue is, added osgiConfig node (com.test.impl.DistanceServiceImpl.config) and stored the non-changable parameters here. Then in the class, added @Property value...

Views

184

Likes

0

Replies

0
Re: How to maintain custom configurations for project in different environments?
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Hi Kalyanar,I have created a config folder in my project with a sling:OsgiConfig node for one of my service (com.test.impl.DistanceServiceImpl) and added properties to the node. I'm able to read the value in the bundle and all works fine ! Now, how do I change the value of one of this property? Go to CRXDE Lite and change it? I would like to change the value through Felix console as CRXDE Lite is disabled in Production.Thanks,-A

Views

186

Likes

0

Replies

0
Re: How to maintain custom configurations for project in different environments?
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Hi Kalyanar,Thanks for the reply. That was very informative. Quick one, in AEM 6 where can I see the PID for my bundle/service?Thanks,-A

Views

184

Likes

0

Replies

0
How to maintain custom configurations for project in different environments?
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Hi,I have 2 different projects/sites with two separate code base. I have some custom configurations for accessing webservices from different server (WS URL) etc. These URLs are different for different environments (Dev, QA, Pre-Prod, Prod).What is the best way to handle these configurations? Is it via creating different config folders for different run modes?Please suggest and it would be helpful if you can give me a link that explains how to create configurations (custom configurations) for dif...

Views

707

Likes

0

Replies

7
How to maintain DB passwords ? Nothing in clear text
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Hi All,My application connects to database to get some data. Currently DB connection parameters and passwords are configured through felix console.Now the problem is anyone who has access to felix console can see the password for the DB. How do I prevent this? What is the best way of configuring these parameters?Thanks

Views

198

Likes

0

Replies

2
Re: Sightly - Not able to assign value 'false' to a div property
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Thanks Catalin for the workaround.Do you have any workaround if there are multiple boolean attributes as below? Content goes here -A

Views

498

Likes

0

Replies

0
Re: Sightly - Not able to assign value 'false' to a div property
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Thanks Feike for the response.I have already tried this before as well. ---> No DIV elements rendered${message} Content goes here Output isfalse Content goes here

Views

493

Likes

0

Replies

0
Re: Sightly - Not able to assign value 'false' to a div property
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Sorry Feike,FALSE value with space is not the solution. I'm using an API here which reads the value for this attribute and perform actions based on this. API expects the value true or false and not false with space.Is there any other way of solving this issue? Or is it a bug?Thanks,-A

Views

455

Likes

0

Replies

0
Sightly - Not able to assign value 'false' to a div property
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
I'm having this problem assigning value 'FALSE' to the attribute.I need to implement the following HTML Content goes here Value for ${obj.message} will be 'true' or 'false'. All works fine when the value is TRUE. But, when the value is FALSE, sightly completely removes the attribute 'd-automode' and the resulting HTML is as below: Content goes here Can someone please provide a solution on how to set value of 'false' fro this attribute?Thanks,

Views

1.3K

Likes

0

Replies

5
Re: How to author assets for Carousel in this requirement
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Thanks Loki.That was really helpful.-A

Views

194

Likes

0

Replies

0
Re: How to author assets for Carousel in this requirement
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Thanks Loki for the input, much appreciated.I have a question regarding the Product Metadata Management part.How do authors add images to the DAM? Correct me if I'm wrong, they will need to upload images going into "/content/dam/myproject/products" (http://localhost:4502/damadmin#/content/dam/myproject/products) right?And they will need to assign product_id (a custom metadata) for each image for the image to be searchable depending on the product_id. Text and URL are also custom metadata for the...

Views

190

Likes

0

Replies

0
Re: How to author assets for Carousel in this requirement
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
hi Bsloki,Thank you for looking into this and helping me out. Please find me comments below:1. Does the text and link for an image of a particular product (product_id) changes or is it configurable at the creation ?Image for the product should be authorable (can change any time)Text that appear on the image is authorable (can change any time)The link (user is taken to this link when clicked on the image in carousel) should also be authorableAddition to that, authors should be able to remove a pr...

Views

189

Likes

0

Replies

0
Re: How to author assets for Carousel in this requirement
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Structure the DAM Assets in such a way that all these products images are on a particular location. say, /content/dam/myproject/productsAdd the custom metadata to all the assets for product_id, text and linkCreate a servlet / service that accepts product_id as input and and searches (QueryBuilder) in the DAM in the path "/content/dam/myproject/products" for these product_ids and returns JSON objectAuthors will need to go to the path "/content/dam/myproject/products" to author the elements for Ca...

Views

190

Likes

0

Replies

0
How to author assets for Carousel in this requirement
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Can someone please throw some light on how to give authors option to add assets for the below requirement.Products of the company (image, text on it, href link for image) are to be displayed in the carousel. Only 5 products are to be displayed on the carousel. There are 80 product (likely to increase in future) and invoking external service specifies (returns 5 product ids) which product images are to be displayed on the carousel.How do I give the author the functionality to author carousel? If ...

Views

468

Likes

0

Replies

7
Re: AEM SP2 - open, view properties, copy, move, publish icons disappeared
Avatar

ashtrick

ashtrick
- Adobe Experience Manager
Not sure if this happens to everyone, after I click on "Enter Selection" (tick mark) from the top and then select "Exit Selection" (X mark), icons are displayed again.Anybody else having the same issue?

Views

94

Likes

0

Replies

0
Likes given to
Likes from