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

Rui_J
Community profile Rui_J Level 2
Job title here
Location here
5 BADGES
Level 2

Level 2

Learn more
Joined the community 08-06-2014 1:57:35 PM
Offline
Top badges earned by Rui_J
Customize the badges you want to showcase on your profile
Re: Problem using curl to create user profile
Avatar
Validate 10
Level 2
Rui_J
Level 2

Likes

4 likes

Total Posts

39 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
Rui_J
- Adobe Experience Manager
This is exactly what I wrote in the first thread. And it does not work. curl -u admin:admin -FcreateUser= -FauthorizableId=testuser -Frep:password=testuser -Fprofile/age@TypeHint=Long -Fprofile/age=30 -FintermediatePath="/home/users/test/" http://localhost:4501/libs/granite/security/post/authorizablesThis command puts age (String) = 30 and age@TypeHint (String) = "Long" in the user profile.

Views

533

Likes

0

Replies

0
Problem updating user profile using curl command
Avatar
Validate 10
Level 2
Rui_J
Level 2

Likes

4 likes

Total Posts

39 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
Rui_J
- Adobe Experience Manager
I want to update the user profile using curl command. For example, I want to set profile/age=30 for a user.So this is the command I am using.curl -u admin:admin -Fprofile/age=30 http://localhost:4502/home/users/JLhct5w1LuPVxGs0X5D5u.rw.htmlIt updates alright. But the problem is the age property type is a String instead of Long. How can I set the age type to "Long" in Curl command? I tried -Fprofile/age@TypeHint=Long, but it doesn't work.Please help.Thanks

Views

378

Likes

0

Replies

0
Re: How do I programically version a page?
Avatar
Validate 10
Level 2
Rui_J
Level 2

Likes

4 likes

Total Posts

39 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
Rui_J
- Adobe Experience Manager
Thanks. smacdonald2008. PageManager.createRevision("/path") does the trick.

Views

511

Likes

0

Replies

0
Re: How to find all the assets that has been published for more than 1 year using JCR SQL2?
Avatar
Validate 10
Level 6
leeasling
Level 6

Likes

73 likes

Total Posts

292 posts

Correct Reply

75 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
leeasling
- Adobe Experience Manager
Can't help with SQL2, but, using the query building/debugger it's pretty darn simple.http://localhost:4502/libs/cq/search/content/querydebug.html?_charset_=UTF-8&query=type%3Dcq%3APage%0D%0A2_group.1_relativedaterange.property%3Djcr%3Acontent%2Fcq%3AlastReplicated%0D%0A2_group.1_relativedaterange.lowerBound%3D-1y%0D%0A2_group.1_relativedaterange.lowerOperation%3D%3E%3D

Views

652

Likes

0

Replies

0
Re: Is it possible to start a workflow on asset folder?
Avatar
Validate 10
Level 2
Rui_J
Level 2

Likes

4 likes

Total Posts

39 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
Rui_J
- Adobe Experience Manager
sam.stange wrote... Sorry, I thought you were talking about adding a workflow launcher on a sling:OrderedFolder. Where are you trying to add the functionality? [img]2015-06-17_21-52-21.png[/img] I mean here.

Views

498

Likes

0

Replies

0
Re: How to let the dispatcher not cache certain component?
Avatar
Give Back 50
Employee
Feike_Visser1
Employee

Likes

247 likes

Total Posts

970 posts

Correct Reply

221 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
Feike_Visser1
- Adobe Experience Manager
Here is also a header that you can set for the request.https://helpx.adobe.com/experience-manager/kb/DispatcherNoCache.html

Views

940

Likes

0

Replies

0
Re: Angularjs not binding on second component when there are two same components are on the page
Avatar
Validate 1
MVP
Runal_Trivedi
MVP

Likes

45 likes

Total Posts

153 posts

Correct Reply

68 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
Runal_Trivedi
- Adobe Experience Manager
You cannot have more than one ng-app declaration on the page. Angular will consider only one ng-app and will ignore the other one.Right way would be to include ng-app may be at body tag level so that there is always one ng-app per page. Under that app you can then include your multiple controllers.If still you want to go with your current approach of multiple ng-app you will need to bootstrap all ng-app present on the page. Below article will explain how it can be achieved.http://stackoverflow.c...

Views

938

Likes

0

Replies

0
Re: workflow always in RUNNING state even though the workflow process finishes
Avatar
Validate 100
Level 6
GK-AEM
Level 6

Likes

40 likes

Total Posts

482 posts

Correct Reply

32 solutions
Top badges earned
Validate 100
Validate 50
Validate 25
Validate 10
Validate 1
View profile
GK-AEM
- Adobe Experience Manager
can you please add deactivate method as well to your process implementation class with empty block and check.This will complete entire service life cycle.

Views

1.1K

Likes

0

Replies

0
Re: Custom widget grid panel problem.
Avatar
Give Back 3
Employee
kaushal_mall
Employee

Likes

15 likes

Total Posts

39 posts

Correct Reply

12 solutions
Top badges earned
Give Back 3
Give Back
Boost 5
Boost 3
Boost 10
View profile
kaushal_mall
- Adobe Experience Manager
Can you try changing your myData variable and add the key names? Something like name:user1, email:user1@user1.com, office:office1, state:state1.

Views

666

Likes

0

Replies

0
Re: sidekick not showing up because not included head.jsp?
Avatar
Boost 5
MVP
Paul_McMahon
MVP

Likes

45 likes

Total Posts

235 posts

Correct Reply

142 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile
Paul_McMahon
- Adobe Experience Manager
Well head.jsp is not itself mandatory, however it does do some mandatory things which whether you rely on the inherited head.jsp, or you create your own head.jsp need to happen. You can see what it does by looking at /libs/foundation/components/page/head.jsp in CRXDE Lite.The reason sidekick isn't showing up is that head.jsp includes /libs/wcm/core/components/init/init.jsp. init.jsp includes authoring related CSS and JavaScript and launches the sidekick. head.jsp also prints out the html head el...

Views

533

Likes

0

Replies

0
Re: Resizing image question
Avatar
Boost 50
Level 10
Sham_HC
Level 10

Likes

161 likes

Total Posts

2,114 posts

Correct Reply

1,204 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile
Sham_HC
- Adobe Experience Manager
IMO, Using image size attributes can make image appear to be squashed, lower quality etc based on the value set. With AbstractImageServlet internal uses layer by making use if Java2D API there by the rendering quality be as high as possible.

Views

335

Likes

0

Replies

0
Re: How to use POJO in Sling taglib?
Avatar
Give Back 50
Employee
Feike_Visser1
Employee

Likes

247 likes

Total Posts

970 posts

Correct Reply

221 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
Feike_Visser1
- Adobe Experience Manager
Here an example how to add this.. org.apache.felix maven-bundle-plugin true your.model.package

Views

72

Likes

0

Replies

0
Re: Custom widget property problem
Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
- Adobe Experience Manager
So we know your project and all files -- can you please submit a screen shot of all files that you are using in your component - including dialog nodes.

Views

418

Likes

0

Replies

0
Re: Complex object in Sling object model
Avatar
Boost 50
Employee
justin_at_adobe
Employee

Likes

76 likes

Total Posts

522 posts

Correct Reply

259 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
justin_at_adobe
- Adobe Experience Manager
Hi,The crux of the problem is that the linklistfield xtype stores data in this JSON structure, not as JCR nodes. And currently Sling Models doesn't have any ability to do JSON->Object mapping (whether ot not it should is a separate subject, one I would suggest discussing on the Sling mailing lists and/or JIRA).For now, you would need to do the JSON parsing in a post construct method, something like this (warning - untested code): @Inject private String[] links; private JSONObject[] parsedLinks; ...

Views

178

Likes

0

Replies

0
Re: How do I reference a component from other apps/<myproject2>
Avatar
Boost 50
Level 10
Sham_HC
Level 10

Likes

161 likes

Total Posts

2,114 posts

Correct Reply

1,204 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile
Sham_HC
- Adobe Experience Manager
If you are planning to extend use sling:resourceSuperType.

Views

74

Likes

0

Replies

0
Re: multifield layout problem in CQ6
Avatar
Boost 3
Employee
alvawb1
Employee

Likes

4 likes

Total Posts

94 posts

Correct Reply

47 solutions
Top badges earned
Boost 3
Boost 1
Affirm 5
Affirm 3
Affirm 25
View profile
alvawb1
- Adobe Experience Manager
In 6.0, there have been changes in how edit dialogs work. That is, dialogs for the new UI work like the normal hierarchy of components (different from how it was done before). I've created an issue to have this documented. Please feel free to open a ticket with customer support if you're still having issues.

Views

92

Likes

0

Replies

0
Create simple component and display it in my custom group from sidekick
Avatar
Validate 10
Level 2
Rui_J
Level 2

Likes

4 likes

Total Posts

39 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
Rui_J
- Adobe Experience Manager
Hi, I am trying to create a component and make it display in my group "Others" from sidekick. This is what I did. Create a component called myDragnDropFooter, But when I switch to design mode and try to add my component in "Allowd Components" section, it is not there. Can anyone tell me what I missed? Thank you UPDATE: I have fixed the componets spelling in the picture, and it still not showing up. [img]2014-06-10_21-05-20.png[/img]

Views

134

Likes

0

Replies

0
Re: How can I update parsys rich text content using curl?
Avatar
Boost 50
Level 10
Sham_HC
Level 10

Likes

161 likes

Total Posts

2,114 posts

Correct Reply

1,204 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile
Sham_HC
- Adobe Experience Manager
curl -u admin:admin -X POST -d "sling:resourceType=foundation/components/text&textIsRich=true&text=Sometest" http://localhost:4502/content/geometrixx/en/jcr:content/par/text

Views

131

Like

1

Replies

0
Re: Cannot display component in sidekick custom group
Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
- Adobe Experience Manager
In CQ - errors are logged in the log file. I recommend reading the logs and setting to different levels. To learn how to set different logging levels - see: http://dev.day.com/docs/en/cq/current/deploying/configure_logging.htmlBy the way -- the first time you did it - if there was a wrong use of a property - including when you build the dialog- then the component will not show up in the sidekick. Hope this helps.

Views

132

Likes

0

Replies

0
Re: where is the sample code for cq5 widget?
Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
- Adobe Experience Manager
That package is downloaded from AEM Package Share - not a link. Instructions on how to download it are provided in the AEM docs:GETTING STARTED WITH THE SAMPLESTo follow the tutorials on this page, install the package called Using ExtJS Widgets in a local AEM instance and create a sample page in which the components will be included. To do so:In your AEM instance download the package called Using ExtJS Widgets (v01) from Package Share and install the package. It creates the project extjstraining...

Views

100

Likes

0

Replies

0
Likes given to