since ‎15-12-2017
Online
raj_mandalapu
Level 5
Re: Recover deleted files
Avatar

raj_mandalapu

raj_mandalapu
- Adobe Experience Manager
Hi @hamidk92094312 ,I can imagine or put design for this something like below.On clicking of the delete button, just move Asset to the Recycle Bin/Trash folderWhile moving add a property to the asset, the property name is something like source=""Set expiry time out for the deleted Asset to some amount, ex: 30daysIf content author select Asset to restore, move Asset to the original location by reading source property, we do not need to worry about versioning here, the latest version will get publ...

Views

230

Likes

0

Replies

0
Re: provide 301 redirect in aem 6.5
Avatar

raj_mandalapu

raj_mandalapu
- Adobe Experience Manager
Hi @sreenu539 Both solutions will work, choosing one on others depends on the requirements if you have hundreds of pages and want to give control to the content authors then selecting this at page property level will help, you do not need to request TechOps guys to add redirection for every page.If you what pages you want to redirect then I prefer rewrite URL's is the best solution.

Views

149

Likes

2

Replies

0
Re: 503 - Timeout error
Avatar

ChandraSGupta

ChandraSGupta
- Adobe Experience Manager
Thanks for elaborative answer !

Views

118

Likes

0

Replies

0
Re: RTE Href - Additional Attributes
Avatar

Veena_Vikram

MVP

Veena_Vikram
- Adobe Experience Manager
I think may be a better approach is to handle it with FE of that is possible.

Views

102

Like

1

Replies

0
Re: Access Page Manager API with postman
Avatar

iamjeeva

iamjeeva
- Adobe Experience Manager
Never mind it is resolved, thanks.

Views

124

Likes

0

Replies

0
Re: Checking an url if it contains specific text
Avatar

Vijayalakshmi_S

MVP

Vijayalakshmi_S
- Adobe Experience Manager
In the activate method of WCMUsePojo, use the below snippet to get the current page path and hence contains check on it.String actualPagePath = getCurrentPage().getPath(); if(actualPagePath.contains("retail")) { LOG.info("It is a we-retail page !!"); }Perform any manipulations or further logic here and expose things that are needed in HTL via getters from POJO.

Views

140

Likes

0

Replies

0
Re: What is the best practice- Clientlibs( minify) or Web...
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
If AEM minification works you can reply on AEM minify.The other project can disabled clientlibs minification by using project specific configseg. https://www.albinsblog.com/2019/04/how-to-disable-minification-for-client-libraries-in-aem.html

Views

106

Like

1

Replies

0
Re: How add custom font in in project
Avatar

BrianKasingli

MVP

BrianKasingli
- Adobe Experience Manager
@sagrawal,You can create a resources folder within your client library so that you store static assets, your font files. Your font files can then be accessed via the client library proxy URL within your style sheet. For some code, samples check out this blog article here - https://sourcedcode.com/blog/aem/3-different-ways-to-embed-custom-fonts-in-aem-sites

Views

97

Like

1

Replies

0
Re: AEM Restrict in triggering a workflow on an Asset
Avatar

raj_mandalapu

raj_mandalapu
- Adobe Experience Manager
You can try overlaying the below paths, you need to check the code in provider.jsp, if the URL contains nA then don't fire workflow. you need to do some analysis on this./libs/cq/gui/components/coral/common/admin/timeline/alerts/workflow/provider.jsp/libs/dam/gui/coral/content/commons/sidepanels/timeline/items/alerts/items/workflows The other option is if you know what workflow you are going to fire, then you can create a workflow step, that should execute at the starting of the workflow, inside...

Views

138

Like

1

Replies

0
Re: Converting jsp to HTL
Avatar

Anudeep_Garnepudi

Anudeep_Garnepudi
- Adobe Experience Manager
Hi Srikanth, HTL is strictly presentation layer. There is no way to create objects or write any logic in HTL. You need a support class(Sling Model or Use class) to return ValueMapResource object. The returned object can be included in HTL. -AG

Views

124

Like

1

Replies

0
Re: In template how to create 3 column layout
Avatar

raj_mandalapu

raj_mandalapu
- Adobe Experience Manager
Resizing won't work by default, you need to add grid.less file in your client library.Can you please try by placing below script. @Import "/etc/clientlibs/wcm/foundation/grid/grid_base.less"; /* maximum amount of grid cells to be provided */ @max_col: 12; @grid-gutter-width: 24px; /* default breakpoint */ .aem-Grid { .generate-grid(default, @max_col); width: auto; } /* phone breakpoint */ @media (max-width: 650px) { .aem-Grid { .generate-grid(phone, @max_col); } } /* tablet breakpoint */ @media ...

Views

119

Like

1

Replies

0
Re: How to handle the content with a Non-breaking hypen f...
Avatar

raj_mandalapu

raj_mandalapu
- Adobe Experience Manager
We can use sling transformers to rewrite V John to V-John, because we don't know in which component this text comes, it is difficult to go and modify every component and also when it comes to maintenance it is tough.With this TransformerFactory you can rewrite URLs, modify HTML elements content, add attributes to HTML elements, etc. you can refer below the sample code, it is reading image src attribute and changing it is CDN based URL. public void startElement(String uri, String loc, String raw,...

Views

99

Like

1

Replies

0
Re: AEM servlet redirect with parameters and display resu...
Avatar

bunny87948290

bunny87948290
- Adobe Experience Manager
So I used the model code as you have mentioned, had to update little but as it was giving error for SlingHttpServletRequest in model class. So here is my code - In the servlet, I am setting cookie value as before redirect - Cookie cookie = new Cookie("caseid", caseId);response.addCookie(cookie);response.sendRedirect(redirect_URL); In HTL/Slightly , printing the value as - Thank you for information, your case id is:${case.getCaseID} It is is printing all the log statements from model class, but ...

Views

178

Likes

0

Replies

0
Re: ACS Report - too many calls exception
Avatar

Singaiah_Chintalapudi

MVP

Singaiah_Chintalapudi
- Adobe Experience Manager
I think you can ignore this error. I've got the same and compared the results from results (~27,000) from both ACS and manual query and they are both matching. You can look at the logs if you want to debug further. Make sure you run these queries on pre-prod environments preferably local. Thanks,Singaiah

Views

115

Like

1

Replies

0
Re: Adobe Launch Migration UAT Phase
Avatar

yuhuisg

yuhuisg
- Adobe Experience Platform Launch
One approach is what I do with a client:In this case, the client only UATs the final hits that are sent to AA. He "doesn't care" about how the data layer or Launch are setup, as long as the hits get sent correctly.So we use this method:Using Adobe Experience Platform Debugger, I log all of the AA hits in the test pages.Export the AA hits to an Excel file.Edit the Excel file to indicate the steps that I had done to generate the hits, e.g. "click ", "press browser back button", "scroll to ", etc.S...

Views

133

Likes

2

Replies

0
Re: Version increment on Asset and Page
Avatar

raj_mandalapu

raj_mandalapu
- Adobe Experience Manager
As per adobe documentation, the default behaviour is Create versions of any page.The initial labels and version node names will be 1.0, 1.1, 1.2 and so forth.Restore the first version; i.e. 1.0.Create new versions again.The generated labels and node names will now be 1.0.0, 1.0.1, 1.0.2, etc.Refer: https://docs.adobe.com/content/help/en/experience-manager-64/authoring/siteandpage/working-with-page-versions.htmlBut, if you want to implement custom numbering, instead of 1.0 if you want 2.0 then th...

Views

111

Like

1

Replies

0
Re: How to move common code in sightly html file to diffe...
Avatar

raj_mandalapu

raj_mandalapu
- Adobe Experience Manager
Seems abc.html and testcomponent.html are in the same component, you don't need to call it by putting full path, you can call something like this The best practice is to use a template for reusable content.I did not test below code, but your code should something like below, you can pass brandStyles as parameter to the template, inside template put test condition. dd cc ff ...Refer adobe docs:https://docs.adobe.com/content/help/en/experience-manager-htl/using/htl/block-statements.html

Views

124

Like

1

Replies

0
Re: How to migrate page content in JSON format to AEM JCR
Avatar

raj_mandalapu

raj_mandalapu
- Adobe Experience Manager
You can build a package by including your XML content, update filters and deploy using the package manager, to build a package you can follow either manually or via code, if it is a one time operation then the manual approach is ok.You can also modify your JSON as JCR expected JSON format and import via curl command. https://gist.github.com/joemaffia/87f8328eed1810a93260if you want to have great control over the pages which you are going to create then you need to go with page manager API's, you...

Views

139

Like

1

Replies

0
Re: File Download vs Custom Link
Avatar

raj_mandalapu

raj_mandalapu
- Adobe Analytics
I see two different requirementsDownload link tracking - this will fire whenever you download a file, it could be anything, exe, pdf, Xls, etc. this you can find in your custom editor.s.trackDownloadLinks= true;s.linkDownloadFileTypes= 'exe,zip,wav,mp3,mov,mpg,avi,wmv,doc,pdf,xls';With this you can track path of the link, in your case it is pdf path. The other use case is what if you want to track pdf path along with the downloaded user name, location, etc. in this case normally we go with a cus...

Views

69

Like

1

Replies

0
Re: Adobe Calls Automation
Avatar

jantzen_belliston-Adobe

Community Manager

Total Posts

1.9K

Likes

312

Correct Answer

570
jantzen_belliston-Adobe
- Adobe Experience Platform Launch
Do any of the answers below answer your initial question? If so, can you select one of them as the correct answer? If none of the answers already provided answer your question, can you provide additional information to better help the community solve your question?

Views

76

Likes

0

Replies

0
Re: Fetch the date property from the page
Avatar

maryanilak48011

maryanilak48011
- Adobe Experience Manager
As per my requirement, I need to give the page path in the dialog, from that path, I'm fetching all the reference page properties like published date, Image from the reference page which I am giving in the dialog.

Views

155

Like

1

Replies

0
Re: Ability to send invitations to external users (System...
Avatar

raj_mandalapu

raj_mandalapu
- Adobe Experience Manager
There are multiple things involved here, you need to have protected page, two components, two servlets and OSGI service.1. The pages should be protected, registering users should not be allowed on an anonymous page and the page should be visible to only admin users.2. create a registration component that asks basic details, email address, first name, last name.3. on clicking of the submit button using Ajax, call servlet.4. the servlet should handle creating a user and adding to the group5. it is...

Views

133

Likes

2

Replies

0
Re: Analytics tracking for AEM Search
Avatar

raj_mandalapu

raj_mandalapu
- Adobe Analytics
You can use getPageLoadTime plugin to measure the amount of time the page takes to completely load. check below link, in reports you need to filter by search results page.https://docs.adobe.com/content/help/en/analytics/implementation/vars/plugins/getpageloadtime.html If you want to measure time only search results then you need to do customization at your code level, usually in AEM to get search results we write servlet and make a request to it via AJAX call, you need to write java code or java...

Views

52

Likes

2

Replies

0
Re: Always catching in to Typed / Bookmarked in Referrer...
Avatar

raj_mandalapu

raj_mandalapu
- Adobe Analytics
By default, Adobe Analytics tracks referrer from document.referrer, but here it is not behaving like that, seems something is overriding, you need to check internal URL filters or check custom code editor.You can override this using s.referrer plugin, for this, you need to write code in Adobe Launch custom code editor.Example:s.referrer=document.referrer;If you are using Launch then you can use Adoeb analytics plugin code editor to place your custom code.

Views

108

Like

1

Replies

0
Re: Block tracking from particular domain
Avatar

evolytics_brian

evolytics_brian
- Adobe Analytics
@raj_mandalapu - Assuming you have control over the implementation, you can do what @vibhatna suggested and remove it entirely from pages on the offending domain. Another option might be to leverage s.abort as part of your doPlugins logic to stop analytics calls from firing only when/if it's the offending domain. For example:s.doPlugins = function(s) { if (document.location.hostname === "www.ignorethisdomain.com") { s.abort = true; // stops the analytics call from firing } };More information abo...

Views

45

Likes

0

Replies

0
Re: Child pages being overwritten in English after root p...
Avatar

nwatson69

nwatson69
- Adobe Experience Manager
we've investigated this further and find it only happens when the AEM translation framework creates a launchreproduce this on a Vanilla AEM instance under following conditions:The page + child pages need to exists in the master languageThe page + child pages need to exists in the other languageThe cq:modification date (or jcr:modification date) of the master page needs to be > jcr:created date of the page in the other languageStart the project using the create translation project Wizard and make...

Views

77

Likes

0

Replies

0
Re: Where can I see last login date (and related account...
Avatar

anacacr

anacacr
- Adobe Analytics
@saumgupt there is no "solved" option

Views

139

Likes

0

Replies

0
Re: Custom Link/Download Link Event Tracking
Avatar

1982luca

1982luca
- Adobe Analytics
hello rajas66269496, do you mean to add this code here

Views

137

Likes

0

Replies

0
Re: Renaming Page
Avatar

shams8090

shams8090
- Adobe Experience Manager
Did it work? I tried to implement the custom rollout configuration with PageMoveAction but it's not working in AEM 6.5.2

Views

301

Likes

0

Replies

0
Re: Workspace- Change Row Default Setting for Large Break...
Avatar

EMeyer79

EMeyer79
- Adobe Analytics
Thank you! That worked!

Views

49

Likes

0

Replies

0