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
BedrockMission!

Learn more

View all

Sign in to view all badges

swathiv54399501
Community profile swathiv54399501 Level 3
Job title here
Location here
13 BADGES
Level 3

Level 3

Learn more
Joined the community 15-07-2015 1:35:38 AM
Offline
Top badges earned by swathiv54399501
Customize the badges you want to showcase on your profile
AEM 6.4 Workflow model is growing too big
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
Hi,Workflow model is growing too big, is there any better way to handle this.Thanks,Swati

Views

457

Likes

0

Replies

2
Asset sharing with Non AEM application
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
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

288

Likes

0

Replies

1
Need to remove one node or property based on signout action
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
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

281

Likes

0

Replies

0
Re: Passing original request object in chain filter in Sling filter
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
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

441

Likes

0

Replies

0
Re: Passing original request object in chain filter in Sling filter
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
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

442

Likes

0

Replies

0
Passing original request object in chain filter in Sling filter
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
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

728

Like

1

Replies

5
Re: Unable to parse Multipart form data file of DAM Upload
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
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.2K

Likes

0

Replies

0
Re: Unable to parse Multipart form data file of DAM Upload
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
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.2K

Likes

0

Replies

0
Re: Unable to parse Multipart form data file of DAM Upload
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
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.2K

Likes

0

Replies

0
Unable to parse Multipart form data file of DAM Upload
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
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.5K

Likes

0

Replies

8
Re: Antivirus/Malware Scan before Uploading File in DAM AEM6.0
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
Hi Kaushal,We got similar use case to implement. And I have created Filter for createasset servlet.But problem is there is no "file" parameter in the request object. I can see multipart form data in request header.BufferedInputStreamParameter[] bufParams = new BufferedInputStreamParameter[slingRequest.getRequestParameters("file").length];I am trying to parse that data , but unable to get the file.Any idea how can we get the file.Thanks,Swati

Views

858

Likes

0

Replies

0
Re: Anti Virus Scan for digital assets before Storing asset into Application
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
Hi Peter,I have gone through the readme file, but I dint got much info on configuring the bundle. So if we just include this bundle, anti virus scanning for the assets will work??Thanks,Swati

Views

1.3K

Likes

0

Replies

0
Workflow item payload customization
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
Hi,We have one requirement where we need to customize workflow item payload arguments field, not the custom process arguments.We need to add few text fields and asset upload functionality in workflow item tab.we tried to overlay the jsp but it is effecting all workflow model Workitem. Is there a way to achieve this with dialog or any other way?Thanks, Swati

Views

321

Likes

0

Replies

4
Anti Virus Scan for digital assets before Storing asset into Application
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
Hi,we have developed our antivirus scan api to enable virus scan for digital assets. And we need to enable this scan , before storing asset into AEM application. We tried to edit OOTB asset update workflow, as this workflow will trigger on every asset upload. We have created one custom process step and included before flow reach to GateKeeper Process. But it dint work. I have checked few links on forum which are related to Anti Virus scan. But I dint get much info.We are looking for better appro...

Views

1.6K

Likes

0

Replies

2
Re: Solr 5.x integration with AEM 6.2
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
Even I am facing the same issue. Did you found the fix?

Views

477

Likes

0

Replies

0
Embedded and remote solr instance issue
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
I am facing multiple issues while configuring solr server.1.In remote solr server configuration, facing issue with zooker.2.And in embedded solr server, is there any way to check the indexed content. I tried with crx query tool, but i am getting search results, even if I dint configure embedded solr server(search result behavior is same even if embedded solr server is configured ). So unable to understand the difference between with and with out embedded solr server configuration. Regards,Swati

Views

303

Likes

0

Replies

0
Re: Iterating a map in sightly which have custom object as key
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
It is my aem instance issue I guess.I am able to iterate simple and custom class map in my colleagues machine.I tried with your code as well but it dint worked in my machine.

Views

761

Likes

0

Replies

0
Re: Iterating a map in sightly which have custom object as key
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
Below is the osgi sightly class code::package com.test.sightly;import java.util.HashMap;import java.util.Map;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import com.adobe.cq.sightly.WCMUse;public class TestSightly extends WCMUse { private static final Logger log = LoggerFactory.getLogger(TestSightly.class); private Map test; @Override public void activate() throws Exception { test = new HashMap(); test.put("hai", "helo"); test.put("sightly", "test"); log.info("main map object------>"+t...

Views

741

Likes

0

Replies

0
Re: Iterating a map in sightly which have custom object as key
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
Simple map( HashMap) itself is not working in sightly.I tried to display keys and values but nothing displayed.And no errors,I checked the log file.

Views

742

Likes

0

Replies

0
Re: Iterating a map in sightly which have custom object as key
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
Hi Shehjad,I tried with the code which you posted,but it dint worked for me.Do I need to add any other changes to make it work?Regards,swati

Views

746

Likes

0

Replies

0
Re: Dispatcher Stat file not getting created according to statfileslevel and cache flush issue
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
Yes lokesh, I referred the same doc,but nothing is getting generated.No clue where I am going wrong /cache { # The docroot must be equal to the document root of the webserver. The # dispatcher will store files relative to this directory and subsequent # requests may be "declined" by the dispatcher, allowing the webserver # to deliver them just like static files. /docroot "D:/Apache2.2/htdocs" #/statfile "D:/Apache2.2/htdocs/dispatcher-website.stat" # Sets the level upto which files named ".stat"...

Views

740

Likes

0

Replies

0
Dispatcher Stat file not getting created according to statfileslevel and cache flush issue
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
Hi,Dispatcher cache flush issues,I am trying to clear cache of specific folder using HttpClient and PostMethod, if I specify full page path in cq-handle then page cache deleted, but if I give folder path cache is not getting deleted.Stat file issue:I am setting the statfileslevel to multiple values(0,2,3) in dispatcher.any file, but stat file not generated, is there any configuration i need to set to generate the stat file??Thanks,Swati

Views

1.9K

Likes

0

Replies

3
Re: AEM dispatcher module for apache http 2.4 or 2.2 for Windows8 64-bit
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
Hi Opkar,I have configured apache 2.2 32 bit and dispatcher-apache2.2-windows-x86-4.1.5 in my local machine and tested basic cache rules, it worked fine.Thanks & Regards,Swati

Views

1.2K

Likes

0

Replies

0
Re: AEM dispatcher module for apache http 2.4 or 2.2 for Windows8 64-bit
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
Thank you Gokul & Opkar.I will try to configure dispatcher with IIS.

Views

1.2K

Likes

0

Replies

0
AEM dispatcher module for apache http 2.4 or 2.2 for Windows8 64-bit
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
Hi,I am trying to setup aem dispatcher in windows8 64-bit,apache http 2.4 web server.I have visited https://www.adobeaemcloud.com/content/companies/public/adobe/dispatcher/dispatcher.html link, but there is no dispatcher module available for windows8 64 bit.Can anyone provide me the link.Thanks,Swati

Views

2.8K

Likes

0

Replies

6
Re: unable to access JSONObject in sightly html file
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
Issue fixed.Found alternate way.Instead of using org.apache.sling.commons.json.JSONObject API, I changed to GSON api and converted json to javabean object and then accessing in sightly file.But using JSONObject in sightly is still not possible.swati

Views

2.5K

Likes

0

Replies

0
Re: unable to access JSONObject in sightly html file
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
I already tried with jsp, it is working fine.When I tried to convert that jsp to sightly html file,I faced this issue.

Views

2.5K

Likes

0

Replies

0
Re: unable to access JSONObject in sightly html file
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
I am using JSONObject with string as parameter to construct JSONObject.As I mentioned before I am getting the json string from infinity.json(from jcr nodes). Below is the sample json string which I am converting to JSONObject, { "jcr:primaryType":"nt:unstructured", "testkey1":{ "jcr:primaryType":"nt:unstructured", "test1":"al", "test2":"Alabama", "test3":"US" }, "testkey2":{ "jcr:primaryType":"nt:unstructured" }} Thanks,Swati

Views

2.5K

Likes

0

Replies

0
Re: unable to access JSONObject in sightly html file
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
result is string and it is in json format.Once I get it the result, I am converting it into JSONObject.As you suggested, I changed it to JSONArray but no luck.JSONArray jsonArray = new JSONArray(result);

Views

2.5K

Likes

0

Replies

0
Re: unable to access JSONObject in sightly html file
Avatar
Give Back 25
Level 3
swathiv54399501
Level 3

Likes

4 likes

Total Posts

39 posts

Correct reply

2 solutions
Top badges earned
Give Back 25
Give Back 10
Ignite 10
Give Back 5
Ignite 5
View profile
swathiv54399501
- Adobe Experience Manager
No errors in the error log and even json is correct as I am getting the json of jcr node with infinity.json,so I dont think there will be errors in the json.I am able to parse the individual keys of json string in sightly java file and print the values like below,String posts = json.getJSONObject("testkey1"); String test = posts.getString("testkey2");But unable to access direct JSONObject.I am trying to avoid parsing keys and values of json in java file (because if I do it ,I have to hardcode ke...

Views

2.5K

Likes

0

Replies

0