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

odabio
odabio
Online

Badges

Badges
12

Accepted Solutions

Accepted Solutions
0

Likes

Likes
7

Posts

Posts
24

Discussions

Discussions
0

Questions

Questions
23

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by odabio
Customize the badges you want to showcase on your profile
Unit test with PDF files
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
Hi everyone,I’ve created a custom component populated it with some data and I’m having some struggle testing it, any help would be appreciated heres the link to the gist containing all the files(java and json): https://gist.github.com/odaBio/f76d3b15500581ca3fa08143fd9fead1 Thanks in advance

Views

51

Likes

0

Replies

1
Unit testing custom component
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
Hi everyone,I’ve created a custom component populated it with some data and I’m having some struggle testing it, any help would be appreciated heres the link to the gist containing all the files(java and json): https://gist.github.com/odaBio/f76d3b15500581ca3fa08143fd9fead1 Thanks in advance

Views

58

Likes

0

Replies

1
Re: display custom property in form option field
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
This is how I'm obtaining my list (just config the source to list and in the list I point ot the list)

Views

53

Like

1

Replies

1
display custom property in form option field
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
Hello everyoneI have a this node structure in my project : Which contains all the countries, and each node country(like Afghanistan) contains the following properties:And in my page I have a form option field which points to my list countries And the form options display the property text of each countryWhat I would like to do is that I would like to create another form where I can display the “phone_text” property instead of the “text”, Is there any way to do it or I will have to create another...

Views

79

Likes

0

Replies

3
Play dynamic video throught js
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
Hi everyone does anyone knows how can I start playing the video automatically after the user clicks on the button ?In my html script I call the dynamic media component: In witch I pass a video, Now what I’ll like to do is that want to play the video when the user click on the button: But when I try to get the video I get an undefined. Here’s the HTML generated by the dynamic media:https://gist.github.com/odaBio/57e117d4c6dc4458aa907bc39627e22a Does anyone knows how can I play the video t...

Views

41

Likes

0

Replies

0
Re: Drop target Image and video in different nodes
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
Can I see your xml file (image and video in cq:dialog and cq:dropTargets) ?

Views

131

Like

1

Replies

1
Re: Drop target Image and video in different nodes
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
Yes

Views

150

Like

1

Replies

5
Drop target Image and video in different nodes
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
Hi everyone Does anyone knows how can I create a separate node (dropTarget) for image and video ?Here’s the data in my node: Im my node video (only video should be accepted in this node): In node image(only images should be accepted in this node): In my component only images are being accepted when I drag and drop then the videos are not being recognized, any ideas about how can I make the video recognizable ? Thanks in advance.

Views

177

Likes

0

Replies

7
onclick function in ui.frontend
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
Hi everyone I’ve created a custom component button search Here’s the HTML of the button (buttonsearch.html) On the ui.frontend > src > main > webpack > components ( there’s scss and js files) I’ve created a js file ( _buttonsearch.js), where my function “displayModal” is definedBut when i click the button I get an error “Uncaught ReferenceError: displayModal is not defined” anyone knows hpw could I make it work ?Thanks in advance.

Views

106

Likes

0

Replies

3
onclick on button
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
Hello everyone I know this is very easy to do but i’ve been struggling for a while to do it.I’ve developed a custom component (button) Here’s the content of the buttonsearch.html I want to add the function onclick on the button but when I do it the console doesn’t print anything…Here’s the content of my js in clientlibs When I click on the button I don’t get the message printed in the console ?Anyone knows how can I print the message to the console when the button is clicked ? Thanks in advance.

Views

128

Likes

0

Replies

4
Re: Sling model unit test with constructor
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
Thanks you @Jörg_Hoh It worked I wasn't specifying the right path to the ressource, now it works, I didn't add "imageform/items/item1" in the ressource.ImageFormItem imgFormItem = aemContext.resourceResolver().getResource("/content/imageform/items/item1").adaptTo(ImageFormItem.class);

Views

176

Likes

0

Replies

0
Re: Sling model unit test with constructor
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
Still getting the null point exception event though i changed your the model as you told me. but i need the custon constructor cuz it trought it that i can add new items

Views

210

Likes

0

Replies

2
Re: Sling model unit test with constructor
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
yes, I've updated it

Views

234

Likes

0

Replies

4
Re: Sling model unit test with constructor
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
I getting the same nullpointexception

Views

260

Likes

0

Replies

6
Re: Sling model unit test with constructor
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
Did as you told me but got a null pointer exception on this line :String actual = imgFormItem.getTitle(); But the error starts in a line earlier, in this lineImageFormItem imgFormItem = aemContext.request().adaptTo(ImageFormItem.class);Here the variable imgFormItem is null for some reason it cannot instantiate the sling model.

Views

280

Likes

0

Replies

8
Sling model unit test with constructor
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
Hi everyoneI am having some trouble testing a Sling model, My Sling interface looks like this: @Model(adaptables= Resource.class) public interface ImageFormItem { /** * @Return the title. */ @inject String getTitle(); /** * @Return the url. */ @inject String getUrl(); /** * @Return the image reference as a string. */ @inject String getFileReference(); } my sling model: @Model(adaptables = Resource.class) public class ImageFormItemImpl implements ImageFormItem { private static final String PN_URL...

Views

309

Likes

0

Replies

10
Re: Reference new properties in HTML file
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
ImageView.java: https://gist.github.com/odaBio/bb977ff6296d9fbdecee481b8c18540cImageViewImpl.java: https://gist.github.com/odaBio/3cad00f7b5014b69abbe0b5aa1501053

Views

167

Like

1

Replies

0
Re: Reference new properties in HTML file
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
ImageView.java: https://gist.github.com/odaBio/bb977ff6296d9fbdecee481b8c18540cImageViewImpl.java: https://gist.github.com/odaBio/3cad00f7b5014b69abbe0b5aa1501053

Views

170

Like

1

Replies

1
Reference new properties in HTML file
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
Hello I’m struggling to display the new properties that I added in form options..Just to give a little bit of context, I’m want to extend the form option component and add some new option (Title, URL and Image), I’ve successfully added those option as we can see in the image below My issue is that I cannot reference the newly added option in my html (imageview.html) here’s my here’s the content of the file: Gist link to some files:_cq_dialog/.content.xml: https://gist.github.com/odaBio/e8ebb790d...

Views

182

Likes

0

Replies

7
add social media link and icons
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
Hi everyoneI’m trying to add social media icons ( Facebook, LinkedIn, Instagram, YouTube an Pinterest), just like the picture below.I want to add the icons in the footer which is a experience fragment. I want to be able to configure the links on each icon, so when a user clicks on each icon he can be redirected to that social media page. Thanks in advance

Views

116

Likes

0

Replies

2
Re: How to reference a static list for Form option component
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
Hi @Arun_Patidar Can i select an unstructured node with all the data? here my crx in my IDE I want something like this so i can just copy the countries from my XML..

Views

172

Like

1

Replies

1
Re: How to reference a static list for Form option component
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
Hi @Arun_Patidar Thanks for your answer but there's no way that I can read I defined list ? My list have more than 150 values (countries) and i would take too much time to create a node for each option...I would be easier if I could read my defined list, If any ideas about how i could read the list it'll be very helpfull. Thanks

Views

193

Like

1

Replies

3
How to reference a static list for Form option component
Avatar
Ignite 10
Level 3
odabio
Level 3

Likes

7 likes

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Ignite 10
Boost 5
Ignite 5
Give Back 10
Boost 3
View profile
odabio
- Adobe Experience Manager
Hello everyoneI’m trying to create a dropdown list were the list items is a list of countries (I have a list of countires in an XML and json format) and I want to load that static in /apps so I can reference it in form options (picture below) My question is: Is there anyway that I can load my defined list ? or do I need to create each node for each country (picture below)? Thanks in advance.

Views

213

Likes

0

Replies

6
Likes given to
Likes from