since ‎08-11-2017
‎10-12-2019
rajeshs28932860
Level 2
Re: Automate/add dynamic value in OSGI
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
in this case for a default configuration like "Apache Sling Distribution Agent - Sync Agents Factory" Is it ok to put under repo based or run mode based configuration and keep checking or updating say every 30mins ? Will that configuration reflect immediately ?

Views

971

Likes

0

Replies

1
Automate/add dynamic value in OSGI
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
HiI am trying to automate the OSGI config for sling distribution in author. the configuration is "Apache Sling Distribution Agent - Sync Agents Factory" which holds hardcoded values of publisher IP's. In a failover scenario, while bringing up new publisher this config has to be changed with new publisher ip added and exisiting ip removed.is there a better way to dynamically update this OSGI value? through CURL or to make a placeholder to read currently connected publisher instance, get the IP an...

Views

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

Likes

0

Replies

3
Re: AEM servlet from external application
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
And if I remove Auth req to the servlet how does it upload file to dam. I am sending csrf token in the header for the servlet to add file to DAM. Will it not impact?

Views

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

Like

1

Replies

1
Re: AEM servlet from external application
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
Hi SmacHow do I do that ? Any security issue doing it ?

Views

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

Likes

0

Replies

2
AEM servlet from external application
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
HiI am calling my servlet from external application creating a Ajax call invoking csrf token and uploading asset to them.I get 403 while invoking the servlet. If I remove post from referrer it works. Is there any way to remove post restriction for particular servlet ?

Views

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

Likes

3

Replies

5
Touchui asset upload regex for illegal chars
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager Assets
HiI am overlaying fileupload.js for touch ui to include custom code. I want to add a regex for exclude all characters in name except small alphabets and numbers .however it doesn't work. The ootb has list of characters mentioned in illegal char variable. Can someone help with a working regex.

Views

848

Likes

0

Replies

0
Re: sizeLimit property doesn't work
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
is there a way to limit the number of uploads ?

Views

408

Likes

0

Replies

0
Re: custom index for date
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
thanks both,how about new contents which got created, do they automatically be added in index or a reindex is needed everytime ?

Views

555

Likes

0

Replies

0
/libs/granite/csrf/token.json query
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
Hello In 6.4 when I hit /libs/granite/csrf/token.json it gives me a empty json with json response.however in 6.2, /libs/granite/csrf/token.json it redirects to login page (which we used in our code to add basic authentication and token headers to login to AEM through ajax call)also, in crx/de token path looks grayed outany thoughts ?

Views

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

Likes

0

Replies

2
custom index for date
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
HelloI basically want to create a custom index where in I want to run a query on entire repository ("/content" for example) and take only nodes (pages/contents) between two different dates.Right now, its traversing the entire repository, can a custom index on date reduce, if so how can I do that ?Thank you,

Views

728

Likes

0

Replies

4
Re: blocking /content/dam/.permissions.json?privileges= jcr%3AmodifyAccessControl
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
Thanks Peter,it has major effect for admins, I would take it as not to block since it has its dis effects. I would raise with Adobe to see what they actually can do about it.

Views

775

Likes

0

Replies

0
Re: blocking /content/dam/.permissions.json?privileges= jcr%3AmodifyAccessControl
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
Hi Peter,Thanks even I need it for AEM 6.4 SP2is that the only functionality that affects if I block, rest all will work as expected ? there wont be any issues with user permissions or for authors ?Thank you,

Views

723

Likes

0

Replies

0
Re: blocking /content/dam/.permissions.json?privileges= jcr%3AmodifyAccessControl
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
Hi Peter,yes, not specific to user, going to block in dispatcher typically for all the requests.

Views

714

Likes

0

Replies

0
blocking /content/dam/.permissions.json?privileges= jcr%3AmodifyAccessControl
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
Recently we had our security tests in the platform, where one finding raised critical was the request sent to /content/dam/.permissions.json?privileges= jcr%3AmodifyAccessControl under cross site scripting tampering the request to execute script.now the question, will there be any impact in author if I block .permissions.json/* requests in dispatcher ? does it affect any functionalities ?Thank you,

Views

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

Likes

0

Replies

6
Re: AEM 6.4.2 sidegrade upgrade
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
Hi Jorg,thanks for your reponse.any difference you see using oak-upgrade from crx2oak ?anything I need to do additionally for using oak-upgrade instead of crx2oak ?Thank you,regards,Rajesh

Views

529

Likes

0

Replies

0
AEM 6.4.2 sidegrade upgrade
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
Hi all,I am performing a upgrade from 6.2 to 6.4.2 through sidegrade.process,1. install venilla 6.42. install 6.4.2 SP23. repo migration from 6.2 to 6.4.2 through oak-upgrade.I would like to know if there are any issues that might arise using oak-upgrade, as far as I used in lower environment,I didnt find any issues.to use crx2oak the official migration tool, what should be the version I use in CRX2OAK Migration Tool ?the latest is 1.8.6 and the document says use oak 1.8.4, however 6.4.2 reposit...

Views

751

Likes

2

Replies

3
Re: SVG file not getting imported in AEM DAM
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
it doesnt work.looks like a Bug raised with Adobe.

Views

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

Likes

0

Replies

0
Re: SVG file not getting imported in AEM DAM
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
I tried debugging the uploaded asset with DAM Mime type service and it is getting detected as "image/svg+xml"com.day.cq.dam.core.impl.mimeType.DamMimeTypeServiceImpl DAM Mime Type Service detected mimeType for test3.svg as: image/svg+xmlhowever when I allow the config in DAM asset restriction configuration it doesn't upload and gives error message, it uploads only when all MIME type is selected.

Views

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

Likes

0

Replies

2
Re: SVG file not getting imported in AEM DAM
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
unfortunately even after using wildcards like image/* it doesnt seem to work.

Views

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

Likes

0

Replies

3
SVG file not getting imported in AEM DAM
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
We have DAM Asset upload restriction configuration turned on in OSGI to allow specfic file types to DAM.We have added "image/svg+xml " in the list to allow SVGhowever still ASSET upload fails with the below log,com.day.cq.dam.core.impl.servlet.CreateAssetServlet Unsupported Media Type - RIC-model-16x9.svg:image/svg+xml when the restriction is removed and all filetypes are allowed, this gets added in the DAM.

Views

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

Likes

0

Replies

6
Re: oak index warn messages in error.log publisher
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
Yes, the first time after migration. Its a sidegrade.OAK-Upgrade 1.8.3.command was used to migrate as we use 6.4.1 which is with OAK 1.8.3I dont see any issues with migration, however there is some configuration tweek needed in OAK index which is hitting this WARN.Anything you suspect ?Thank you,

Views

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

Likes

0

Replies

0
Re: oak index warn messages in error.log publisher
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
Hi Vish.dhaliwal​Thanks for your response, its already with String.

Views

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

Likes

0

Replies

1
oak index warn messages in error.log publisher
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
I see lot of warn messages in error.log of publisher. This is a fresh install of 6.4 with content migration done, I dont see errors however seeing this WARN07.09.2018 15:10:13.679 *WARN* [async-index-update-async] org.apache.jackrabbit.oak.plugins.index.lucene.LuceneDocumentMaker [/oak:index/damAssetLucene] Ignoring ordered property jcr:content/metadata/dc:title of type STRINGS for path images.jpg as multivalued ordered property not supported07.09.2018 15:10:13.685 *WARN* [async-index-update-asy...

Views

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

Likes

0

Replies

4
Re: error when authoring a component with "%" character
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
smacdonald2008​This doesnt appear in any of the environment expect in our PROD. So this should nt appear in any fresh install.

Views

567

Likes

0

Replies

0
Re: error when authoring a component with "%" character
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
HiThis is unfortunately on our PROD instance and we are not able to replicate the same in our lower environments.Fresh install/redeploy of code might not be possible in PROD now,Does Recompile of JSP's in OSGI affects anything if I do in PROD now ?Thank you,

Views

568

Likes

0

Replies

0
Re: error when authoring a component with "%" character
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
Hi Jitendra,yes its not an issue with AEM OOTB, its issue with custom component and yes JSP is written for it.However, this does seem to appear in one of our environment, same code and components do work fine in other envirronment.any thoughts on what this error's imply ?

Views

569

Likes

0

Replies

0
error when authoring a component with "%" character
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
Hiwe have a issue where when we author the text in AEM (directly on author - no dispatcher ) in any of the component like text, rich text, carousel with characters followed by % example "testnew%" in any of the field we get error popup while saving like, (this doesnt appear when "testnew %" is typed means with space)Invalid parameter value, paramName=./slides/1/titleText RequestURI=/content/test/test1/jcr:content/homepage/featurecarousel Servlet= /libs/sling/servlet/errorhandler/default.jsp When...

Views

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

Likes

0

Replies

7
Re: User Creation using AccountManagementService API in AEM
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
Hi Scott,just in case, is the featured content available for use in 6.2 and how to implement the same ?Thank you,

Views

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

Likes

0

Replies

0
Re: User Creation using AccountManagementService API in AEM
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
Good article, just in case how do I manage different languages for the mail body for different users ?Thanks,

Views

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

Likes

0

Replies

0
Re: /mnt/overlay/dam/gui/content/assets/metadataeditor.html%2Fdam%2F... was not found on this server. Not able to submit asset properties due to error.
Avatar

rajeshs28932860

rajeshs28932860
- Adobe Experience Manager
If you use a dispatcher, then this is an obvious issue with 6.2 [0]. The url has %2f which has to be allowed in the apache level by turning on AllowEncodedSlashes On or can use AllowEncodedSlashes with NoDecode, see [1]else this will result in 404. Restart apache services and this would not result in 404.[0]URLs with encoded slashes do not work in AEM [1]core - Apache HTTP Server Version 2.4

Views

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

Likes

0

Replies

0
Likes given to
Likes from