Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Custom Workflow

Avatar

Community Advisor

We have a requirement where in we need to convert page content to text file as part of process step.

Please let us know how shall we proceed for the same.

1.We will trigger a workflow and as part of process step we need to convert entire page content to text file and upload the same to dam.

1 Accepted Solution

Avatar

Correct answer by
Level 10

You can create a custom step that reads the HTML of a given page and creates a text file that uses  the data retrieved from the HTML. Then you can store the text file into the DAM. This can be achieved using a custom workflow step. 

We will add this use case to the community article list. 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

You can create a custom step that reads the HTML of a given page and creates a text file that uses  the data retrieved from the HTML. Then you can store the text file into the DAM. This can be achieved using a custom workflow step. 

We will add this use case to the community article list. 

Avatar

Community Advisor

smacdonald2008 wrote...

You can create a custom step that reads the HTML of a given page and creates a text file that uses  the data retrieved from the HTML. Then you can store the text file into the DAM. This can be achieved using a custom workflow step. 

 


Hi Smac,

Could you please let me know , how can we read the entire html content of a page in author instance as part of workflow step.