Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

swathiv54399501
swathiv54399501
Offline

Badges

Badges
13

Accepted Solutions

Accepted Solutions
2

Likes Received

Likes Received
4

Posts

Posts
39

Discussions

Discussions
7

Questions

Questions
32

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by swathiv54399501
Customize the badges you want to showcase on your profile
AEM 6.4 Workflow model is growing too big - Adobe Experience Manager 18-01-2019
Hi,Workflow model is growing too big, is there any better way to handle this.Thanks,Swati

Views

503

Likes

0

Replies

2
Asset sharing with Non AEM application - Adobe Experience Manager 11-12-2018
Hi All,Is there a better way to consume aem asset in non aem application?Let's say, I have assets stored in AEM Assets. Now I need to consume this assets in traditional java application.Thanks,Swati

Views

327

Likes

0

Replies

1
Need to remove one node or property based on signout action - Adobe Experience Manager 18-11-2018
Hi All,Need to remove one property on hit of OOTB signout action(like how login-token is removed , on user logout). And this is not custom logout action. This requirement is for OOTB logout action. Any idea, how to achieve this?Thanks,Swati

Views

324

Likes

0

Replies

0
Re: Passing original request object in chain filter in Sling filter - Adobe Experience Manager 15-11-2018
In filter I am parsing one of the request attribute ('request-parts-iterator') to fetch uploaded file from OOTB DAM upload buttton. I am reading the inputstream stream from it and enabling antivirus scan for the uploaded file. Once scan done, I am doing chain filter(chainfiltter.doFilter(request,response)) but as I already read the Inputstream Once , CreateAssetFilter unable to read the stream again to process upload action.I even tried to wrapping of the request. That dint worked too.I am total...

Views

521

Likes

0

Replies

0
Re: Passing original request object in chain filter in Sling filter - Adobe Experience Manager 15-11-2018
Hi Arun,You suggesting to call doFilter twice?I noticed the actual problem is reading the attribute twice. When I read the request attribute in filter and again in next level when actual logic is using the same parameter then it is not available and the actual functionality is breaking.Thanks,Swati

Views

522

Likes

0

Replies

0
Passing original request object in chain filter in Sling filter - Adobe Experience Manager 14-11-2018
Hi,We have one sling filter performing some business logic and this is chain filter. But in the logic, we are processing Iterator Object from request attributes. And the same iterator is getting used in next level of chain.When we try to parse the Iterator in next level we are getting error"Parameter not available" as we have already pasrsed the Iterator Object.If there any way to pass the original request object in the chain from first filter?Thanks,Swati

Views

808

Like

1

Replies

5
Re: Unable to parse Multipart form data file of DAM Upload - Adobe Experience Manager 14-11-2018
Thanks, Scott.Below is the some more info for your reference,Iterator partsIteratorone = (Iterator) request.getAttribute("request-parts-iterator");logger.info("Request Parts Iterartor{}" , request.getAttribute("request-parts-iterator"));boolean scanFileResponse = false;Part part = partsIteratorone.next();Part test=partsIteratorone.next();Part testone =partsIteratorone.next();filterChain.doFilter(request, response);In the third iterator we are getting file and we are able to scan file too but whe...

Views

2.3K

Likes

0

Replies

0
Re: Unable to parse Multipart form data file of DAM Upload - Adobe Experience Manager 14-11-2018
Update:I am able to parse the multipart form data with below line of code,Iterator partsIterator = (Iterator) slingRequest.getAttribute("request-parts-iterator");But unable to parse whole parts.When I checked the network response, I can see three parts available in the request. But I am getting only two parts.1.name="_charset_"2.name="fileName"3.name="file"In code when I parsed using above iterator I am getting only charset and filename but not the file. And the actual file is available in the t...

Views

2.3K

Likes

0

Replies

0
Re: Unable to parse Multipart form data file of DAM Upload - Adobe Experience Manager 13-11-2018
Hi ,smacdonald2008​I already tried with the above code, but the requestparametermap is coming empty. I have debugged for the attributes and getting that specific attribute to parse the uploaded file.But now the problem is with filterchain. I am triing to forward the chain request to next level , at the end of the process and inside null checks , but I am getting 400 bad request error. I am new to sling filters, unable to resolve the issue.@ Ashish - Correct I am trying to scan digital asset uplo...

Views

2.3K

Likes

0

Replies

0
Unable to parse Multipart form data file of DAM Upload - Adobe Experience Manager 13-11-2018
Hi,When we upload file in upload, request will go to CreateAssetServlet. So before reaching there we are placing one filter for antivirus scan. But I am unable to parse file from multipart form data. When I iterate the Part, I am getting inputstream, but I notice I was able to read only file name(place log for inputstream data length),not the actual binary.Anyone have idea how to parse the file from multipart form data?Thanks,Swati

Views

2.7K

Likes

0

Replies

8