DIPEN1
Community profile DIPEN1 Level 2
Job title here
Location here
3 BADGES
Level 2

Level 2

Learn more
Joined the community 19-05-2016 9:06:20 PM
Offline
Top badges earned by DIPEN1
Customize the badges you want to showcase on your profile
Re: AEM 6.5 standalone installation error
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
It is fixed now. Issue was having multiple JDK in system. Even though from system path and environment variables were pointing to JDK 11, existence of jdk 14 was creating the issue. After uninstalling jdk 14 its working fine now. I did not think that multiple jdk might create this kind of issue.

Views

680

Likes

0

Replies

0
AEM 6.5 standalone installation error
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
I am getting error while fresh standalone installation of AEM 6.5.java version "11.0.8" 2020-07-14 LTS Error in log : 10.09.2020 13:10:12.951 *ERROR* [Apache Sling Repository Startup Thread] com.adobe.granite.repository.impl.SlingRepositoryManager start: Uncaught Throwable trying to access Repository, calling stopRepository() Any pointers?

Views

733

Likes

0

Replies

5
MIMEType for excel files (.xlsx) in JCR Node
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
Hi,I am trying to create a nt:file node for excel file. I am trying to add property of mimetype as "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet".But I am getting exception "javax.jcr.nodetype.ConstraintViolationException: No matching property definition: mimeType = application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"Code : node.setProperty("mimeType", mimeTypeService.getMimeType("xlsx"));However if I upload an excel file in dam , jcr:content under original nod...

Views

904

Likes

0

Replies

1
Re: Complete participant step through code
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
I have found the issue. Service user need to be added as workflow super user even though it had full read/write access to repository.

Views

1.1K

Likes

0

Replies

0
Re: Complete participant step through code
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
One more important point is I am getting exception only when calling workflowsession.getroutes(workitem, true). Otherwise I am able to load workitem and access all its values.This worlflowsession is resourceResoover.adaptTo(WorkflowSession.class)Please let me know if I am doing anything wrong

Views

1.1K

Likes

0

Replies

0
Re: Complete participant step through code
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
I have checked the permission. It has full read, modify, create, delete, read ACL, write ACL, Replicate permission to complete repository.Still its not able to read.Using AEM 6.4

Views

1.1K

Likes

0

Replies

0
Complete participant step through code
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
Hi,I am trying to complete participant step through code from a scheduler. So I am getting service resource resolver with full read/write permission on repository. Then I am adapting to WorkflowSession. I am able to retrieve every data I need but at last step when I am trying to do workflowSession.complete(workitem, route) then I am getting exception that 'service-user' is unable to load '/var/waorkflow/instance .... ' .Is there anything need to be configured to get this done?

Views

3.0K

Likes

0

Replies

6
Re: OSGI R7 annotation
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
Any update on how to running Junit test cases in intelliJ ? With @Activate annotation on fields, Junit is not running in IntelliJ Idea.

Views

3.9K

Likes

0

Replies

0
Re: OSGI R7 annotation
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
Arun Patidar​Now I am able to build, deploy but facing another issue. Junit testcases are not running from intelliJ. I am using junit5 with AEM mock. Previously it used to work. Although while build testcases running fine but I am not able to run individually test case by right click. Please let me know if you faced this issue.

Views

3.9K

Likes

0

Replies

0
Re: OSGI R7 annotation
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
Arun Patidar​With the changes to osgi.cmpn dependency version, build is successful but bundle is getting installed state. org.osgi.service.event is not resolved. org.osgi.service.event is imported as [1.4,2) whereas in AEM 6.4 version 1.3.1 is available which is exported by Apache Felix EventAdmin bundle. So I am able to build but not deploy.

Views

13.1K

Likes

0

Replies

1
Re: OSGI R7 annotation
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
Feike Visser​ Could you please have a look. I guess its your article. I am using AEM 6.4, jdk 1.8, Maven 3.5.4.

Views

13.1K

Likes

0

Replies

1
OSGI R7 annotation
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
Hi,I have created a project using AEM Archetype 17 and followed this article. I am able to use other osgi R7 annotations like @ServiceDescription or @ServiceVendor. But I am not able to use @Activate on configuration like this:@Activate private MyServiceConfiguration config;I am getting error '@Activate not applicable to field' in intelliJ idea and while maven build I am getting error 'annotation type not applicable to this kind of declaration'.

Views

14.7K

Likes

2

Replies

12
Timeout and advance workflow for steps with Task/Role Based Task.
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
Hi,Is it possible that if a task is left unattended, and due date is over then workflow will proceed to next step or Task will be completed with default option or sometime like that. I need a timeout like feature for Workflow generated Tasks.Thanks in advance.

Views

735

Likes

0

Replies

1
Re: Proper way of iteration of MetadataMap and convert all values to Aem
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
Its not asset metadata. Asset metadata returns ValueMap and I am able to iterate complete valueMap. I am trying to iterate Workflow metadata i.e. com.adobe.granite.workflow.metadata.MetaDataMapAs MetaDataMap implementation is not public, it is very difficult to understand what is happening inside.

Views

2.2K

Likes

0

Replies

1
Re: Proper way of iteration of MetadataMap and convert all values to Aem
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
Yes, we are using AssetManager api but not copyAsset() and removeAsset(). We are using moveAsset(oldPath, newPath).

Views

2.2K

Likes

0

Replies

3
Re: Proper way of iteration of MetadataMap and convert all values to Aem
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
map is updated in one process step and retrieval is done in another process step. It works fine if there is a participant step or create task step. But it gives type cast exception when there is no such step which halts the workflow. If there is no such participant step, map.get() returns String object instead of Value object.Additionally I am facing another issue, i.e. I have a process step which moves the dam asset to another folder. After that in next process step sometime payload path is upd...

Views

4.9K

Likes

0

Replies

5
Re: Proper way of iteration of MetadataMap and convert all values to Aem
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
No. Same map

Views

4.9K

Likes

0

Replies

7
Re: Proper way of iteration of MetadataMap and convert all values to Aem
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
Similar way I am passing String value between steps. But retrieval is different. If I want to retrieve specific value with keys its working but I want to retrieve all value and convert into a map of String representation of all values. So sometime metadataMap.get(key) returns String sometime it returns javax.jcr.Value object.

Views

4.9K

Likes

0

Replies

9
Re: Proper way of iteration of MetadataMap and convert all values to Aem
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
This is in a process Stepworkitem.getWorkflowData().getMetadataMap().put("someKey", "Some sample value");Next Process Step has below :for(Map.Entry entry : metadatamap.entrySet()){ String key = entry.getKey(); Object value = entry.getValue(); int type = ((javax.jcr.Value)value).getType(); switch (type){ case PropertyType.String: //Do something like someothermap.put(key, metadatamap.get(key, String.class)); case PropertyType.Date: //Do something //And so on like that}}Now issue is if these proces...

Views

4.9K

Likes

0

Replies

0
Proper way of iteration of MetadataMap and convert all values to Aem
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
I am trying to iterate workflow metadatamap and convert all items into string. I found then metadatamap.get(key) returns an object of javax.jcr.Value. So I have written a code to get values and check the type and convert accordingly. It was working fine until I put one string value to Metadata Map in one process step using MetadataMap.put("somekey","some string value").So in next process step while iteration it is directly returning string instead of javax.jcr.Value. But in between these two ste...

Views

5.2K

Likes

0

Replies

13
OSGi DS 1.4 (R7) annotations supported by AEM 6.4.2 ?
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
OSGi DS 1.4 (R7) annotations supported by AEM 6.4.2 ? If not, then how can we achieve that?

Views

997

Likes

0

Replies

1
Lock Payload step makes comments prepopulated in next step
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
I have a simple workflow model, where few "Create Project Task" steps are there. In between the steps if I add "Lock Payload Process" (OOTB) and next step is a "Create Project Task" step, then in that step completion dialog, previous task comment is pre-populated.Any pointers?

Views

1.4K

Likes

0

Replies

2
Re: Confused with documentation
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
So, does it mean we need to use a mix of com.adobe.granite.workflow and com.day.cq.workflow ? I thought we should use com.adobe.granite.workflow. Is there any recommendation document available?

Views

2.8K

Likes

0

Replies

1
Re: Confused with documentation
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
I am using com.adobe.granite.workflow but examples are on com.day.cq.workflow

Views

2.8K

Likes

0

Replies

3
Confused with documentation
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
Hi,I am trying to create a custom process step with custom timeout handler which will wait till due date time and then proceed. For this while going through documentation, I found this url Workflow Process Reference where class com.adobe.granite.workflow.console.timeout.autoadvance.AutoAdvancer is mentioned.I am not able to find this class inside uber jar or through depfinder in AEM 6.3Here is the screenshot of the page.Kindly help with proper documentation.

Views

2.9K

Likes

0

Replies

5
Dropdown issue in iphone browser while AEM forms uses iframe
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager Forms
Hi,I am using AEM form with useiframe property true. So only for iphone browsers the dropdown field is behaving differently. Steps to replicate issue in multi step form Click a dropdown field. it will open a pop up type window with dropdown values.Without clicking done select an option and click to continue/next step.User goes to next step with that dropdown option popup open.On focus out of dropdown field it should close the option values pop up. This is working perfectly if we use useiframe as...

Views

675

Likes

0

Replies

0
Re: AEM FORMS : Trigger validation of another field programatically
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager Forms
Sakshi wrote... >> I have two field. Field A and field B. I want to validate field B when A is changed and vice versa. So, how to trigger validation of particular form field when one field is changed? You have to make a validation rule for field B using field A and vice versa. We currently have support for revalidation of whole form, not individual fields. This you can configure with help of visual editor. >> Validate rule applied when field is focus out. As a result, on click submit without foc...

Views

2.3K

Likes

0

Replies

0
Empty field appearing with id "emptyValue" to all dropdown field.
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager Forms
Hi,For all dropdown autogenerated empty option appearing with id "emptyValue". How to get rid of this option tag?

Views

1.5K

Likes

0

Replies

1
AEM FORMS : Trigger validation of another field programatically
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager Forms
I have two scenario:I have two field. Field A and field B. I want to validate field B when A is changed and vice versa. So, how to trigger validation of particular form field when one field is changed?Validate rule applied when field is focus out. As a result, on click submit without focus out from a field, first field is validated and does not submit the form. On second click on submit it submits the form. How to handle this situation?

Views

2.9K

Likes

0

Replies

3
AEM form rule editor no scroll bar ?
Avatar
Validate 1
Level 2
DIPEN1
Level 2

Likes

2 likes

Total Posts

40 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
DIPEN1
- Adobe Experience Manager
Hi,I am trying to add some rule in adaptive form rule editor. But if the rules are little bigger then the focus is our of the screen and no scroll bar to access/view that. If one line code is big then no horizontal scroll bar is there. Its not big issue as still we can get all code while editing. But if code is lengthy then vertical scroll bar is not coming. Which makes other rules below non accessible for editing. Refer screenshot for better understanding.Screenshot :

Views

761

Likes

0

Replies

1
Likes from