since ‎19-05-2016
‎11-09-2020
DIPEN1
Level 2
Re: AEM 6.5 standalone installation error 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.
107
Views
0
Likes
0
Comments
AEM 6.5 standalone installation error 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?
147
Views
0
Likes
3
Answers and Comments
MIMEType for excel files (.xlsx) in JCR Node 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...
800
Views
0
Likes
1
Answers and Comments
Re: Complete participant step through code 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.
1046
Views
0
Likes
0
Answers
Re: Complete participant step through code 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
1053
Views
0
Likes
0
Answers
Re: Complete participant step through code 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
1054
Views
0
Likes
0
Answers
Complete participant step through code 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?
2937
Views
0
Likes
6
Answers and Comments
Re: OSGI R7 annotation 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.
3634
Views
0
Likes
0
Replies
Re: OSGI R7 annotation 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.
3634
Views
0
Likes
0
Replies
Re: OSGI R7 annotation 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.
12052
Views
0
Likes
1
Replies
Re: OSGI R7 annotation 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.
12052
Views
0
Likes
1
Replies
OSGI R7 annotation 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'.
13635
Views
2
Likes
12
Replies
Timeout and advance workflow for steps with Task/Role Based Task. 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.
683
Views
0
Likes
1
Answers and Comments
Re: Proper way of iteration of MetadataMap and convert all values to Aem 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.
2045
Views
0
Likes
1
Replies
Re: Proper way of iteration of MetadataMap and convert all values to Aem DIPEN1 - Adobe Experience Manager
Yes, we are using AssetManager api but not copyAsset() and removeAsset(). We are using moveAsset(oldPath, newPath).
2045
Views
0
Likes
3
Replies
Re: Proper way of iteration of MetadataMap and convert all values to Aem 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...
4543
Views
0
Likes
5
Replies
Re: Proper way of iteration of MetadataMap and convert all values to Aem 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.
4543
Views
0
Likes
9
Replies
Re: Proper way of iteration of MetadataMap and convert all values to Aem 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...
4543
Views
0
Likes
0
Replies
Proper way of iteration of MetadataMap and convert all values to Aem 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...
4840
Views
0
Likes
13
Replies
OSGi DS 1.4 (R7) annotations supported by AEM 6.4.2 ? DIPEN1 - Adobe Experience Manager
OSGi DS 1.4 (R7) annotations supported by AEM 6.4.2 ? If not, then how can we achieve that?
937
Views
0
Likes
1
Answers and Comments
Lock Payload step makes comments prepopulated in next step 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?
1268
Views
0
Likes
2
Replies
Re: Confused with documentation 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?
2660
Views
0
Likes
1
Replies
Re: Confused with documentation DIPEN1 - Adobe Experience Manager
I am using com.adobe.granite.workflow but examples are on com.day.cq.workflow
2660
Views
0
Likes
3
Replies
Confused with documentation 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.
2764
Views
0
Likes
5
Replies
Dropdown issue in iphone browser while AEM forms uses iframe 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...
587
Views
0
Likes
0
Answers and Comments
Re: AEM FORMS : Trigger validation of another field programatically 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...
2050
Views
0
Likes
0
Replies
Empty field appearing with id "emptyValue" to all dropdown field. DIPEN1 - Adobe Experience Manager Forms
Hi,For all dropdown autogenerated empty option appearing with id "emptyValue". How to get rid of this option tag?
1362
Views
0
Likes
1
Replies
AEM FORMS : Trigger validation of another field programatically 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?
2634
Views
0
Likes
3
Replies
AEM form rule editor no scroll bar ? 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 :
719
Views
0
Likes
1
Answers and Comments
Likes from