since ‎29-10-2014
‎10-12-2019
Reyansh_kumar
Level 1
Capturing workflow comments from previous step to be sent as email notification to next participant step user.
Avatar

Reyansh_kumar

Reyansh_kumar
- Adobe Experience Manager
Capturing workflow comments from previous step to be sent as email notification to next participant step user.My Code is as below. I am always getting the workflow comments from start.My requirement is : Once first participant comment has been passed to the next participant step then this step shoudl be skiped to capture next steps comments to following participant step user.My Workflow is with multiple participant steps attached along with this question.My Custom Workflow code is Pasted below.Y...

Views

2.4K

Likes

0

Replies

4
Re: Send Email workflow step comments in an email to initiator
Avatar

Reyansh_kumar

Reyansh_kumar
- Adobe Experience Manager
In a custom workflow step use this below code to fetch the comments. public void execute(WorkItem item, WorkflowSession wfsession,MetaDataMap args) throws WorkflowException { HistoryItem previousHistoryItem; String stepType; List history = wfsession.getHistory(item.getWorkflow()); Iterator historyIterator =history.iterator(); while(historyIterator.hasNext()){ previousHistoryItem = historyIterator.next(); String comments=previousHistoryItem.getComment(); //OR String someproperty=previousHistoryIt...

Views

201

Likes

0

Replies

0
Re: Dialog Participant Step in the Touch UI
Avatar

Reyansh_kumar

Reyansh_kumar
- Adobe Experience Manager
Sorry my mistake, found the way out. It works fine for me now.I was using the touchUIDialogPath parameter at a different level than classic UI dialog level. Cheers

Views

690

Likes

0

Replies

0
Re: Dialog Participant Step in the Touch UI
Avatar

Reyansh_kumar

Reyansh_kumar
- Adobe Experience Manager
Hi ,I am also using the dialog participant step to get the date from the user.I would like to get the touchUI dialog to get the date from the user.I used the same methodology to update the classicUI dialog with a property touchUIDialogPath property with the touchUI dialog path. But still gives me an error of "'touchUiDialogPath' property invalid" Here is my code for classicUI dialog: Code for touchUI dialog: Your help is much appreciated.

Views

683

Likes

0

Replies

0
How to create a sitemap.xml file to help web crawling
Avatar

Reyansh_kumar

Reyansh_kumar
- Adobe Experience Manager
I would like to create a sitemap.xml file for our website.We have the homepage and 300 article pages under homepage.I read from other posts ,we have to create robots.txt filewe have to create a sitemap.xml file .It would be of great help if someone explians the procedure on how to create these files under what nodes and the logic to create the sitemap.xml file.Any help on this will be appreciated . ThanksReyansh

Views

436

Likes

0

Replies

1
Hyperlink creation fail for encrypted URL in Rich Text Editor component
Avatar

Reyansh_kumar

Reyansh_kumar
- Adobe Experience Manager
Hyperlink creation fail for encrypted URL in Rich Text Editor componentWhen i try to create a Hyperlink using a RichTextEditor component its fail for Encryped URL links?URL's with %20 in it fails?I tried to decode the URL and used the decoded URL to create Hyperlink, But still it fails.Does AEM allows to create a Hyperlink for Encrypted URL's links.Any help in this regard is really helpfull.Thanks

Views

121

Likes

0

Replies

1
Re: How to modify the Page property in the code and set it back
Avatar

Reyansh_kumar

Reyansh_kumar
- Adobe Experience Manager
Hey Sham,Thanks a lot . I get the issue fixed.I used Page Path as the unique ID for every page .

Views

179

Likes

0

Replies

0
Re: How to modify the Page property in the code and set it back
Avatar

Reyansh_kumar

Reyansh_kumar
- Adobe Experience Manager
Thanks for your quick response.My exact scenario is I need to create a unique page id for all my pages created using my page template.this page id property should get generated automatically on page creation.I want to access this pageid based on the google analytics result and store those Page id's against the loggedin user id.When the user login again after 24 hours, I will query the JCR with all the PageId's stored for this user and list out all those pages for the user.For this process first ...

Views

124

Likes

0

Replies

0
How to modify the Page property in the code and set it back
Avatar

Reyansh_kumar

Reyansh_kumar
- Adobe Experience Manager
How to modify the Page property in the Page component jsp and set the new modified value back to the Page property by setProperty(..,...) method? Can we set the Page property back? My Situation is I want to set the Unique Page ID for every page I create, So I would like this to be a Page Property.I am considering the the current datetime is unique feature, So I want to convert this current datetime to unix time value a long value and want to set this PageID property to that page.I can access the...

Views

259

Likes

0

Replies

4
Re: How to use QueryBuilder API to search a keyword a minimum of 2 times in the Page content.
Avatar

Reyansh_kumar

Reyansh_kumar
- Adobe Experience Manager
I understand that if more than one component has keyword than I need to choose the page. But my question is more on how? what is the code syntax to get only the page name from the URL and skip other URLS in the resultset?Your help is really appreciated. thanks

Views

484

Likes

0

Replies

0
Re: How to use QueryBuilder API to search a keyword a minimum of 2 times in the Page content.
Avatar

Reyansh_kumar

Reyansh_kumar
- Adobe Experience Manager
Hi ,thanks for your alternative thinking.I had tried this before as my requirement is for a fulltext search only. But it doesnot meet my requirement as this search works only for one occurance of the search Keyword.But I need only pages in the result which has the search keyword occur atleast more than once the page.Any help in this regard is appreciated.Thanks

Views

485

Likes

0

Replies

0
Re: How to use QueryBuilder API to search a keyword a minimum of 2 times in the Page content.
Avatar

Reyansh_kumar

Reyansh_kumar
- Adobe Experience Manager
gcarlino wrote... I will give you a specific example of what I'm trying to say. I'm doing this in a default installation, on a local instance, here: http://localhost:4502/libs/cq/search/content/querydebug.html You enter this and click Search button: path=/content/geometrixxproperty=textproperty.operation=likeproperty.value=%shape%orderby:pathp.limit=-1 I want to find pages where the word shape appears more than once in the geometrixx pages.I see 17 results, ordered by path. Every time one page a...

Views

485

Likes

0

Replies

0
Re: How to use QueryBuilder API to search a keyword a minimum of 2 times in the Page content.
Avatar

Reyansh_kumar

Reyansh_kumar
- Adobe Experience Manager
gcarlino wrote... I will give you a specific example of what I'm trying to say. I'm doing this in a default installation, on a local instance, here: http://localhost:4502/libs/cq/search/content/querydebug.html You enter this and click Search button: path=/content/geometrixxproperty=textproperty.operation=likeproperty.value=%shape%orderby:pathp.limit=-1 I want to find pages where the word shape appears more than once in the geometrixx pages.I see 17 results, ordered by path. Every time one page a...

Views

488

Likes

0

Replies

0
Re: How to use QueryBuilder API to search a keyword a minimum of 2 times in the Page content.
Avatar

Reyansh_kumar

Reyansh_kumar
- Adobe Experience Manager
bsloki wrote... I doubt if you have that option in Querybuilder (others can comment). but once you get the resultset from the querybuilder, you can use string operation and filter the result set Can you please elaborate more on this approach . If the result of the querybuilder picks all the pages with minimum one occurrence of the search keyword in the entire page. So from this result how do we use the string operation and i dentify which of the results have more than one occurance of the keywor...

Views

486

Likes

0

Replies

0
Re: How to use QueryBuilder API to search a keyword a minimum of 2 times in the Page content.
Avatar

Reyansh_kumar

Reyansh_kumar
- Adobe Experience Manager
gcarlino wrote... I don't know whether this helps or not but if you do this query: path=/your/pathproperty=textproperty.operation=likeproperty.value=%keyword%orderby:pathp.limit=-1 You should see the list of components where the keyword appears ordered by path, which means that if you look at the list of results, you should see pages where the keyword appears in more than one component. It would be bad luck if it appears twice in the same component, but you could do this to find that out: path=/...

Views

485

Likes

0

Replies

0
How to use QueryBuilder API to search a keyword a minimum of 2 times in the Page content.
Avatar

Reyansh_kumar

Reyansh_kumar
- Adobe Experience Manager
QueryBuilder APi list all the pages as a search results if it finds the keyword atleast once in the Search criteria in the Page content.But if we need to search for twice occurance in the page content, How to get the keyword search result count to find how many times the keyword exist in the page content?You help in this regard will be really appreciated.

Views

1.5K

Likes

0

Replies

12