since ‎26-07-2018
‎13-08-2020
danc13675873
Level 2
Re: Data encrypted with "cryptString" function cannot be...
Avatar

danc13675873

danc13675873
- Adobe Campaign Classic
Thank you! I think we might end up doing the same. Do you know if this would be possible to use in personalisation blocks?

Views

148

Likes

0

Replies

0
Re: Unable to decrypt string encrypted by the cryptString...
Avatar

danc13675873

danc13675873
- Adobe Campaign Classic
Hi Milan. This didn't work using DESede/CBC/NoPadding. The documentation says the encryption used by Adobe Campaign is AES / CBC with a null IV. https://docs.adobe.com/content/help/en/campaign-classic/technicalresources/api/f-cryptString.htmlRemarksEncryption takes place according to the following method:The unicode character string is transformed into a UTF-8 string.A check character is added at the end.This string is encrypted using the AES algorythm in Cipher Block Chaining (CBC) mode with a ...

Views

124

Likes

0

Replies

0
Unable to decrypt string encrypted by the cryptString function
Avatar

danc13675873

danc13675873
- Adobe Campaign Classic
I am trying to decrypt using Java a string encrypted by the cryptString function in Adobe Campaign Classic. var encryptedString = cryptString (“helloworld”, “{secretKey}”, false); I have observed the encrypted string always starts with an @ and is 1 character longer than if I encrypt the same string using Java. The test Java decrypt function looks like: public static void main( String[] args ) throws Exception { String decryptedString = decrypt("{encryptedString}", "{secretKey}"); System.out.pri...

Views

153

Likes

0

Replies

2
Update ExampleLiveActionFactory to use OSGi Declarative Services Annotations
Avatar

danc13675873

danc13675873
- Adobe Experience Manager
How do I update the LiveActionFactory example to use OSGi Declarative Services Annotations? @component(metatype = false) @Service public class ExampleLiveActionFactory implements LiveActionFactory { @property(value="exampleLiveAction") static final String actionname = LiveActionFactory.LIVE_ACTION_NAME; ... }

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

2
Re: Unpublished Publish status option searching only for...
Avatar

danc13675873

danc13675873
- Adobe Experience Manager
I think it is correct as not selecting either Published or Unpublished will return you assets that haven't been published.

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

0
Unpublished Publish status option searching only for deactivated assets
Avatar

danc13675873

danc13675873
- Adobe Experience Manager
I have found when you select Unpublished as the Publish status on the asset picker page side panel it searches for assets that have been deactivated. I would have thought the search should also include assets that have never been published. Do you think this is a bug or an intentional feature? Query Statement: /jcr:root/content/dam//element(*, dam:Asset)[not((_x002e_./@hidden = 'true')) and (jcr:contains(jcr:content/metadata/@dc:format, '"image" OR "application/x-ImageSet" OR "application/x-Spin...

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

1
Re: Editable template with structured content
Avatar

danc13675873

danc13675873
- Adobe Experience Manager
Thanks Arun 🙂

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

0
Re: Editable template with structured content
Avatar

danc13675873

danc13675873
- Adobe Experience Manager
Arun - just to clarify, my understanding is the anonymous user is part of the everyone group. So when I say I don't want to give the anonymous user permissions to my project's /conf/.../templates folder on PUBLISH, this also means I want to avoid giving the everyone group permissions to this folder on PUBLISH - as the result is the same.

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

0
Re: Editable template with structured content
Avatar

danc13675873

danc13675873
- Adobe Experience Manager
These I the steps I followed (maybe you can confirm by doing the same?) 1) Download/clone https://github.com/adobe/aem-guides-wknd.git 2) Deploy code to AUTHOR and PUBLISH by running mvn clean install -PautoInstallPackage,autoInstallPackagePublish,adobe-public 3) Update Content Page Template, add Text component to the Layout Container, populate Text component with content. 4) Publish Content Page Template 5) On PUBLISH, remove everyone READ permissions from /conf/wknd/settings/wcm/templates (You...

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

0
Re: Editable template with structured content
Avatar

danc13675873

danc13675873
- Adobe Experience Manager
Arun - I removed these permissions from PUBLISH server and the component I added to the template in Structure mode no longer shows on the page when I access it on PUBLISH. I am specifically interested in permissions on PUBLISH - permission on AUTHOR are fine.

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

0
Re: Editable template with structured content
Avatar

danc13675873

danc13675873
- Adobe Experience Manager
Thanks Arun for you quick reply. I have just tested using WKND and it worked... When I investigated the difference between my own project and the WKND project, I found this rep:policy node in the Github project https://github.com/adobe/aem-guides-wknd/blob/master/ui.content/src/main/content/jcr_root/conf/wknd/settings/wcm/templates/_rep_policy.xml. Do you agree that READ access to the /conf/../templates folder is required on publish?

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

0
Editable template with structured content
Avatar

danc13675873

danc13675873
- Adobe Experience Manager
I have created an editable page template under Tools > General > Templates. On this template within the Layout Container [Root] I have added a component in Structure mode which I have populated with content. The idea is that this component populated with content will show on all pages that implement this template. However, whilst this displays correctly in author, on publish the component does not show on the page. I have worked out that this is because the anonymous user does not have read perm...

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

8
Editable template with structured content
Avatar

danc13675873

danc13675873
- Adobe Experience Manager
I have created a editable page template under Tools > General > Templates.On this template within the Layout Container [Root] I have added a component in Structure mode which I have populated with content. The idea is that this component populated with content will show on all pages that implement this template.However, whilst this displays correctly in author, on publish the component does not show on the page. I have worked out that this is because the anonymous user does not have read permiss...

Views

678

Likes

0

Replies

1
Get page path or component path inside dialog field validator
Avatar

danc13675873

danc13675873
- Adobe Experience Manager
How can I get the current page path e.g. /content/site/en/pageName or the current component path e.g. /content/site/en/pageName/jcr:content/component from within a dialog field validator (foundation.validation.validator)registry.register("foundation.validation.validator", { selector: "[data-foundation-validation=someValidator]", validate: function(el) { // Some code to get page or component URL to make AJAX call }});

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

2
Disable cancel inheritance of component dialog field on MSM rolled out LiveCopy page
Avatar

danc13675873

danc13675873
- Adobe Experience Manager
I would like to prevent an author from overwriting/canceling inheritance for one field in a component dialog on a page that has been rolled out using LiveCopy from the master site. Is this possible? Is there a property I can add to that dialog field that would prevent the author for overwriting it, meaning it will always inherit from the master site?

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

3
Re: Hide or disable Touch UI dialog (asset) file upload
Avatar

danc13675873

danc13675873
- Adobe Experience Manager
Thanks Ravi!

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

0
Hide or disable Touch UI dialog (asset) file upload
Avatar

danc13675873

danc13675873
- Adobe Experience Manager
Does anyone know the JS code required to hide or disable an (asset) file upload in a Touch UI dialog based on if a checkbox is ticked. I am loading the JS using a client library for the dialog.

Views

(val/1000)?string[".0"]}K

Like

1

Replies

3
Targeting container components in AEM 6.3 Touch UI
Avatar

danc13675873

danc13675873
- Adobe Experience Manager
Can I confirm that its NOT possible in AEM 6.3 Touch UI, using the Targeting mode to target entire container components e.g. Responsive Grid and it's only possible to target components contained within them.Responsive Grid - /libs/wcm/foundation/components/responsivegrid

Views

(val/1000)?string[".0"]}K

Like

1

Replies

1
Create JSON offer in Target using API
Avatar

danc13675873

danc13675873
- Adobe Target
Is it possible to create a JSON offer in Target using the Target API. I have tested using the documentation provided here - Target API v1.0 ​, but there isn't an option documented to provide the offer type e.g. HTML, JSON.Documentation example - Target API v1.0 :curl -X POST \ https://mc.adobe.io//target/offers/content \ -H 'authorization: Bearer ' \ -H 'cache-control: no-cache' \ -H 'content-type: application/vnd.adobe.target.v1+json' \ -H 'x-api-key: ' -d ' { "name": "My new offer", "content":...

Views

(val/1000)?string[".0"]}K

Likes

4

Replies

3