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

sushmapoojitha
Community profile sushmapoojitha Level 2
Job title here
Location here
8 BADGES
Level 2

Level 2

Learn more
Joined the community 19-04-2021 9:32:45 PM
Offline
Top badges earned by sushmapoojitha
Customize the badges you want to showcase on your profile
Re: How to get path of uploaded file in servlet from js
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager Forms
@Mayank_Gandhi, it is just one link which i need, and this cannot be used by all users, it will be used only by a certain set of people and also I don't need to store the uploaded file, i just need to get link of it send to servlet and get data inside the file. It is for one time purpose, no need of storing file inside aem.

Views

163

Likes

0

Replies

0
Re: How to get full path when upload file choose desktop file workflow?
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager
Hi @Gaurav-Behl, actually I am uploading a file using js script" $("#fileupload").click(function(){var input = document.createElement("input");input.type = "file";input.id="myfile";input.name="myfile";input.onchange = _ => {// you can use this method to get file and perform respective operationslet uploadedFile = input.files;//document.getElementById('target_div').appendChild(input);console.log(uploadedFile[0]);console.log(uploadedFile[0].name);};input.click();});"on button click. I need to send...

Views

411

Likes

0

Replies

0
Re: How to get full path when upload file choose desktop file workflow?
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager
'

Views

412

Likes

0

Replies

0
Re: How to get path of uploaded file in servlet from js
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager Forms
Hi @PulkitJain, yes I am using AEM Forms component only, but the thing here is i don't want to use "content" to get the file to my servlet. Is there any other way?

Views

210

Likes

0

Replies

0
Re: How to get full path when upload file choose desktop file workflow?
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager
Hi @Gaurav-Behl, can you suggest how to pick file using File API. Can you provide any example for that through which we can get absolute path of the file uploaded. Thank in advance!!

Views

429

Likes

0

Replies

0
Re: How to get path of uploaded file in servlet from js
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager Forms
Hi @PulkitJain, I don't want to save the uploaded attachment, it's just after uploading file using one button and on click on submit button, my servlet which gets active by the submit button should take the absolute path of the uploaded file and should be able to read the data in that file.or can you help me get the absolute path of the uploaded file in aem js itself?

Views

229

Likes

0

Replies

0
How to get path of uploaded file in servlet from js
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager Forms
Hi thereI am trying to upload a file using type = "file" in aem front end and I want to read that file using servlet and get the data of the file. I already have a servlet in which I have hardcoded one link but I want to get the link of the file uploaded using the button in that place and get data of the file.Can anyone help me with this?Thanks in advance!!

Views

298

Likes

0

Replies

8
Re: Why my servlet component is in "satisfied" state. Wil...
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager
There was a jar file issue. Added correct jar and it is working fine now.Thanks everyone!!

Views

133

Like

1

Replies

0
Re: Why my servlet component is in "satisfied" state. Wil...
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager
added it, and status of RedisClusterServiceImpl is showing "failed activation" status with this failure message ::: java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/Module at org.redisson.config.Config.(Config.java:105) at org.redisson.Redisson.(Redisson.java:113) at org.redisson.Redisson.create(Redisson.java:152) at com.samplevodaidea.core.service.RedisClusterServiceImpl.getRedisClusteredClient(RedisClusterServiceImpl.java:63) at com.samplevodaidea.core.service.RedisClusterService...

Views

243

Likes

0

Replies

0
Re: Why my servlet component is in "satisfied" state. Wil...
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager
RedisClusterService::import org.redisson.api.RedissonClient;public interface RedisClusterService {public RedissonClient getRedisClusteredClient();public Boolean sendDataToRedissonCluster(String key, String val);public String getDataFromRedissonCluster(String key);public Boolean deleteDataFromRedissonCluster(String key);public Boolean checkRedissonConnection();}

Views

264

Likes

0

Replies

0
Re: Why my servlet component is in "satisfied" state. Wil...
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager
RedisClusterServiceImpl ::import java.io.BufferedReader;import java.io.FileInputStream;import java.io.InputStreamReader;import java.util.concurrent.TimeUnit;import org.osgi.service.component.annotations.Activate;import org.osgi.service.component.annotations.Component;import org.osgi.service.component.annotations.Deactivate;import org.osgi.service.component.annotations.Modified;import org.osgi.service.metatype.annotations.AttributeDefinition;import org.osgi.service.metatype.annotations.AttributeT...

Views

266

Likes

0

Replies

0
Re: Why my servlet component is in "satisfied" state. Wil...
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager
Hi @Asutosh_Jena_, i tried but after adding "private RedisClusterServiceImpl redisclusterserviceImpl;", it is showing "unsatisfied" and service "redisclusterservice" is not added in components

Views

291

Likes

0

Replies

0
Why my servlet component is in "satisfied" state. Will it affect servlet's working?
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager
when i am starting my servlet, it is not working and in my friends aem instance it is working. When i checked in components in web console, it is in "satisfied" state. Will this affect the working of servlet. What can I do to make the servlet to work?Thanks in advance!!

Views

370

Likes

0

Replies

10
Re: How can I make the data display in different rows?
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager
Hi I am using only one node inside innerMultiField and repeating it inside the innerMultiField. I want that data to get printed in different rows but it is getting printed in single row by using ',' as divider. Can I make that data to print in different rows. This is the code i am using. public List getConverttoJSONArray() {converttoJSONArray = new ArrayList();log.debug("multifieldlinks " + multifieldlinks);try {if(null != multifieldlinks) {log.debug("inside not null");Iterator children = multif...

Views

156

Likes

0

Replies

0
Re: How can I make the data display in different rows?
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager
yes i am using JSON format in multifield node to return the values.sling:resourceType value is "granite/ui/components/coral/foundation/form/multifield"I am using one text field and another multifield (having one text field) inside it and returning the output.

Views

201

Likes

0

Replies

0
Re: How can I make the data display in different rows?
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager
Hi @Asutosh_Jena_

Views

212

Likes

0

Replies

0
Re: How can I make the data display in different rows?
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager
Hi @Asutosh_Jena_

Views

213

Likes

0

Replies

0
How can I make the data display in different rows?
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager
Hi I have created a multifield inside another multifield where if I click "add" I will be able to enter two different levels of data any number of time. I have written a java code to fetch the values and wrote html to display them in tabular format.I am getting header correctly displayed but when displaying body different data is getting displayed in single row with ',' like below image. How can I make the data display in different rows each ?

Views

230

Likes

0

Replies

7
Re: Trigger onclick event to a coral button component in...
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager
It worked!!! Thanks a lot

Views

213

Likes

0

Replies

0
Trigger onclick event to a coral button component in aem 6.5
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager
Hi I am trying to use a coral button component to get a text field. I am not able to understand how to trigger onClick event for this button. I have used "granite/ui/components/foundation/button" as sling:resourceType to a nt:unstructured node and created the button.Can anyone suggest how to get a text field by clicking on the button.

Views

244

Likes

0

Replies

2
Re: Adding multifields based on numberfield in AEM 6.4
Avatar
Ignite 3
Level 2
sushmapoojitha
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 10
Give Back 5
Give Back 3
Ignite 1
View profile
sushmapoojitha
- Adobe Experience Manager
What are "#multi-number-id" and "#multi-id"  and how to get them?

Views

406

Like

1

Replies

1
Likes given to
Likes from