since ‎30-09-2013
‎25-11-2020
kaushal_mall
Employee
Re: AEM archetype 23/24 - Maven Multi module Project with multi tenancy
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
I would open an issue on the archetype GH issue, and also do the updates manually on the project.

Views

302

Likes

0

Replies

0
Re: AEM archetype 23/24 - Maven Multi module Project with multi tenancy
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
Unfortunately, I think the archetype should go back to embedding the core for each module in it's own ui.apps module and then that should be embedded in all.

Views

330

Likes

0

Replies

0
Re: AEM archetype 23/24 - Maven Multi module Project with multi tenancy
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
23 embeds it, 24 does not. 😞

Views

343

Likes

0

Replies

0
Re: AEM archetype 23/24 - Maven Multi module Project with multi tenancy
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
Have you tried adding a "autoInstallPackage" profile to tenant 1 and tenant 2 ui.apps modules, then you can install them separately, instead of trying to embed them in the all package, which has the autoInstallSinglePackage profile

Views

366

Likes

0

Replies

0
Re: AEM archetype 23/24 - Maven Multi module Project with multi tenancy
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
Not understanding the question. Shouldn't all module embed both tenant1 and tenant2?

Views

399

Likes

0

Replies

0
Re: Profile builds with Cloud Manager
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
Hi @anuragg41105887, I have no idea what the context of the support ticket was and an out of context response is a little hard to read. Either ways, you have your answer :-). FWIW, this is pretty clear from the docs and not sure if a support ticket is needed to begin with. I hope you and your family are doing ok.

Views

168

Likes

0

Replies

0
Re: Profile builds with Cloud Manager
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
The ideal goal is to have automated tests, also, IMO, with multiple tenants, the sooner you catch the bugs, the better. lots of customers wait until Stage to merge all the code and deploy once, this is too late to cause issues. Deploy everything together on dev, write automated tests, catch bugs early.

Views

256

Likes

0

Replies

0
Re: Profile builds with Cloud Manager
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
FWIW, this document explains what you are looking to do https://docs.adobe.com/content/help/en/experience-manager-cloud-service/onboarding/getting-access/creating-aem-application-project.html#environment-variables

Views

319

Likes

0

Replies

0
Re: Profile builds with Cloud Manager
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
In AEM Cloud Service, you cannot install parts of the code base, every deployment creates a new image and your complete code package has to be deployed everytime. If Cloud Service is on the roadmap already, I'd try to stick to the best practices for that. Even though it might be possible for you to do this on AMS.

Views

324

Likes

0

Replies

0
Re: Profile builds with Cloud Manager
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
Is this for AMS or Cloud Service? In AEM Cloud Service, you cannot install parts of the code base, every deployment creates a new image and your complete code package has to be deployed every time. If Cloud Service is on the roadmap already, I'd try to stick to the best practices for that. Even though it might be possible for you to do this on AMS. FWIW, this document explains what you are looking to do https://docs.adobe.com/content/help/en/experience-manager-cloud-service/onboarding/getting-ac...

Views

343

Like

1

Replies

10
Re: Cloud Manager Build Issue - AEM as Cloud Service
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
@Shashi_Mulugu this again is a difference that comes with Cloud Service. I highly recommend you watch the adaptTo recordings from last year for the feature model. In the build image step of the pipeline, it is decided which osgi config will be applied to the environment. This is based on the runmodes. If you download the logs for that step from Cloud Manager, you should see the details.

Views

263

Likes

0

Replies

0
Re: Cloud Manager Build Issue - AEM as Cloud Service
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
There are a couple of issues going on here. There is no “test” runmode in Cloud Service. Looks you have configurations under that runmode. Please read the Cloud Service documentation on which runmodes are supported This error is shown when you have multiple configs with the exact same PID in your code base and Cloud Service cannot determine which config to apply. Unfortunately, the error is a little misleading because the mergeConfiguration flag cannot be set as it says. If you remove your dupli...

Views

325

Like

1

Replies

2
Re: Aem As a Cloud Service - running custom functional te...
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
The doc does state that the functional tests are ran against the Cloud Service stage environment _after_ the stage deployment, this should fix your issue.

Views

406

Likes

0

Replies

0
Re: Aem As a Cloud Service - running custom functional te...
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
@joannaj49016259 Each release is validated against customer instances before being classified as safe and pushed out. If you write unit tests and functional tests using https://docs.adobe.com/content/help/en/experience-manager-cloud-service/implementing/developing/understand-test-results.html#writing-functional-testsand if a new release breaks any of these tests, they will mark it unsafe and stop the release. @Arun_Patidar this is true for ALL Cloud Service releases (major and minor), if you hav...

Views

816

Likes

2

Replies

1
Re: Aem as Cloud Service - Java version question
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Cloud
Hi @joannaj49016259, you should be compiling your code using Java 8, until Cloud Manager supports Java 11 and running your AEM as a Cloud Service SDK locally using Java 11. HTH.

Views

1.1K

Like

1

Replies

0
Re: Validating the custom assetpicker(coralUI) in the overlayed pageProperties dialog
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
the validation happens client side. Not in the file you mention above. Below is a sample to make the fileupload widget required, you can use the same. (function(document, $, Granite) { "use strict"; var CLASS = ".coral-FileUpload-input", DATA_VALIDATION_VALUE = "fileupload-required", fieldErrorEl = $(""); // check for coral-id of tab, see if it's hidden, then pass the validation . // if dialog doesn't have tab, do regular validation function validateFileUpload(e) { var valid = true, validationRe...

Views

868

Likes

2

Replies

0
Re: Can AEM be run with Dispatcher (Apache) in Worker (MPM) mode
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
With 4 publishers and dispatchers, 1000 consecutive requests should be a breeze. Are you sure your requests are being cached appropriately? Are you activating pages while running these tests? This might be an issue further down the request chain and not something that should be fixed on the web server level.

Views

5.0K

Likes

2

Replies

0
Re: What are the pre-requisites of adding a package on Adobe’s Package share?
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
Why do you need to use package share if its for a client. Why can't you just upload it to their source control management and include it as part of the code deployment? Doesn't seem like a use case for Package Share, unless I am missing something here.

Views

4.6K

Likes

0

Replies

2
Re: What are the pre-requisites of adding a package on Adobe’s Package share?
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
Have you considered contributing to ACS Commons? 

Views

4.6K

Likes

0

Replies

4
Re: Metadata Schemas vs Metadata Profiles
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
Does the value need to be hardcoded in AEM? or simply registering "mydam" as a namespace and adding "mydam:gDubz" as a schema property of PDFs within a specific folder enough? Just registering the namespace "mydam" is enough. Then you can have custom properties for the name space like mydam:prop1 and mydam:prop2 Will AEM pick up that metadata property if it was set in a PDF and then uploaded to the DAM? or is this something that you'd want to add an extra extract workflow process step for? AEM w...

Views

881

Like

1

Replies

0
Re: Metadata Schemas vs Metadata Profiles
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
If you are adding custom properties, you'll definitely need to update the metadata schema. Whether you create a profile or not depends on whether you want the metadata values to be populated automatically. For example, if you wanted to add a new property to PDFs called mydam:gDubz and want it to be automatically populated with the value "Gdubz is awesome" for all PDFs uploaded to "Gdubz" folder. You would have to Update the PDF metadata schema to add a new filed and map it to jcr:content/metadat...

Views

894

Likes

2

Replies

0
Re: TarMK Farm Configuration in 6.x
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
Also, OOTB, Sling Content Distribution is used to distribute content instead of reverse replication now. https://docs.adobe.com/docs/en/aem/6-2/administer/communities/sync.html

Views

681

Likes

0

Replies

0
Re: Antivirus/Malware Scan before Uploading File in DAM AEM6.0
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
You should write a filter for the "createasset" servlet and pass the input stream to the scan method. Based on the returned result you can either go on with the method or return a 500 in your filter. Something like this. BufferedInputStreamParameter[] bufParams = new BufferedInputStreamParameter[slingRequest.getRequestParameters("file").length];for (int i = 0; i < fileRequestParameters.length; i++) { bufParams[i] = new BufferedInputStreamParameter(fileRequestParameters[i]);if (bufParams[i].getSi...

Views

707

Likes

2

Replies

0
Re: java code to lock and unlock a node in cq5
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
Have you looked at LockManager?

Views

485

Likes

0

Replies

0
Re: AEM integration with ADFS
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
Have you configured the Referred Filter and the Sling Authentication Service?

Views

610

Likes

0

Replies

0
Re: How to Externalize and sync Binary Data with multiple Author Instances in AEM 6.0 through TarMK
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
Artie, If you use a FileSystemDataStore with TarMK, you can most definitely share it. You won't be able to share the DS if you aren't using FSDS. Hope that helps.

Views

469

Likes

0

Replies

0
Re: How to Externalize and sync Binary Data with multiple Author Instances in AEM 6.0 through TarMK
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
Kaustav, If your requirement is to just share the datastore, please use the FileSystemDataStore with TarMK and point multiple instances to the same path.

Views

462

Likes

0

Replies

0
Re: Load Balancing with Muiltiple Dispatchers
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
Mike, It is not recommended to have an architecture where a single dispatcher is talking to multiple publishers. This means that multiple publishers will have flush agents to the same dispatcher. Think of a situation where the same file gets flushed/invalidated by multiple dispatchers within a matter of seconds because one publisher got the activation a second later than the other one. The easiest is to have 1:1 ratio and have a LB infront of the dispatchers that load balances to the dispatchers...

Views

646

Likes

0

Replies

0
Re: Custom widget grid panel problem.
Avatar

kaushal_mall

Employee

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

621

Likes

0

Replies

0
Re: How "text" component works?
Avatar

kaushal_mall

Employee

kaushal_mall
- Adobe Experience Manager
Have you looked at the blog? http://blogs.adobe.com/contentmanagement/2012/02/10/how-to-add-align-options-to-the-textimage-component/

Views

642

Likes

0

Replies

0