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

santhoshsrg
santhoshsrg
Offline

Badges

Badges
18

Accepted Solutions

Accepted Solutions
2

Likes Received

Likes Received
28

Posts & Comments

Posts & Comments
63

Discussions

Discussions
0

Questions

Questions
19

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by santhoshsrg
Customize the badges you want to showcase on your profile
Re: Packaging Junit - Adobe Experience Manager 21-06-2020
Thanks for update. I have followed the same approach as in the first example but i am getting issue on OOTB org.apache.jackrabbit.oak.jcr.session.ItemImpl.save method during jcrPackageManager.create(parentNode, pkgName) function call

Views

791

Likes

0

Replies

0
Junit test case - Creating packages - Adobe Experience Manager 19-06-2020
I am trying to create Junit test case for creating packages. I have used link https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/bundle/src/test/java/com/adobe/acs/commons/packaging/impl/AssetPackagerServletImplTest.java for this. PFB my service and Junit code. I am getting an exception for creating package which i have mentioned below. Any help would be great. Thanks in advance!! Exception:javax.jcr.RepositoryException: Item.save() not allowed on new itemat org.apache.jack...

Views

654

Likes

0

Replies

1
Re: Packaging Junit - Adobe Experience Manager 19-06-2020
Thanks @BrianKasingli and @Veena_Vikram for answers. @BrianKasingli The first example you shared matches most of my scenario. But still I am not able to create package using that approach. I have updated my code based on that. But I am getting different exception now. PFB part of my code.Could you please let me know if there is any mistake. The service actually works fine. The problem is happening only in Junit.Exception:javax.jcr.RepositoryException: Item.save() not allowed on new itemat org.ap...

Views

835

Like

1

Replies

2
Packaging Junit - Adobe Experience Manager 15-06-2020
Hi, I have created a service to create packages. I want to know how to write Junit test for this service. PFB the service code for creating package. Any help would be great. Thanks in advance!! @reference private Packaging packaging; public void createPackage(Node rootNode, String pkgName) { JcrPackageManager jcrPackageManager = packaging.getPackageManager(session); JcrPackage jcrPackage = jcrPackageManager.create(rootNode, pkgName); JcrPackageDefinition jcrPackageDefinition = jcrPackage.getDefi...

Views

1.3K

Likes

0

Replies

6
Package is not getting completely generated - Adobe Experience Manager 11-06-2020
Hi, I am trying to create a package in a workflow process. The package will contain filters as current payload and workflow instance. PFB the code which i have used for this.My issue is the workflow instance is not getting built completely. I save workflow instance for history purpose like getting approval notes from participant. Please let me know if i am missing any step in building package. Thanks in advance !! Node rootNode = getRootNode(session, siteName); JcrPackageManager jcrPackageManage...

Views

735

Likes

0

Replies

1
Re: Enrichment - Not able to create collection which item... - Adobe Campaign Standard 27-05-2020
It is actually a temp field created in Enrichment activity. I am not able to change the length of this temp field

Views

4.3K

Likes

0

Replies

0
Re: Enrichment - Not able to create collection which item... - Adobe Campaign Standard 26-05-2020
Thanks for the reply @raj_mandalapu Yes, The length of itemNameImage is getting restricted by default to 255. But i want to store more than 255 characters. The problem is i am not able to change the itemNameImage field length in Enrichment activity. Please share your input if this collection field "itemNameImage" length can be changed.

Views

4.6K

Likes

0

Replies

3
Enrichment - Not able to create collection which item length is greater than 255 - Adobe Campaign Standard 25-05-2020
Hi All, Use Case:I have to send an email to customers who have purchased items. I have to send email with item image links which customers have purchased. Approach followed:I have created two schemas for this Order, OrderLineItem. I have followed the below steps in workflow.I have queried recent Order records using Query activity.Then I have used Enrichment activity to create collection(Size: 3) "itemNameImage" of Order line item and add it to temporary schema. The collection variable itemNameIm...

Views

5.7K

Likes

0

Replies

6
Re: Restrict OOTB workflow for CustomGroup - Adobe Experience Manager 18-05-2020
Thanks for your reply. I tried to remove permission in /var/workflow/models but by doing so all workflow models (both project and OOTB) are disappearing.

Views

4.2K

Likes

0

Replies

0
Re: Restrict OOTB workflow for CustomGroup - Adobe Experience Manager 18-05-2020
Hi @arunpatidar,I followed this approach. It hides most of OOTB workflows except the ones present directly under /var/workflow/models. Is there any way to hide these workflows too?

Views

4.3K

Likes

0

Replies

2