since ‎15-03-2017
‎10-12-2019
carolynr5682886
Level 2
Re: "page has no template assigned" error carolynr5682886 - Adobe Experience Manager
Thank you. 'cq:allowedTemplates' is defined on root page with proper value like /conf//settings/wcm/templates/.* was missing from my root page. Once added I could see the page now.
845
Views
0
Likes
0
Answers
"page has no template assigned" error carolynr5682886 - Adobe Experience Manager
Hi -I've created a new editable page template and a page to use it. However, when I go to my publish instance to render the page I am always getting this error : 12.02.2019 15:00:51.035 *ERROR* [10.223.43.6 [1550012451027] GET /publish/content/xxxx/en/test-2/flex-homepage-test.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingExceptionjava.lang.IllegalArgumentException: page has no template assignedat com.day.cq.wcm.foundation.TemplatedContainer.(Templa...
904
Views
0
Likes
2
Answers and Comments
Re: links to ppt not working on OOB text component carolynr5682886 - Adobe Experience Manager
The ppt works now that I have linked it to another file and added the . into the regex. ppsx is not working but I believe once I have another example from the client it should be solved. Thank you for the help.
2796
Views
0
Likes
1
Replies
Re: links to ppt not working on OOB text component carolynr5682886 - Adobe Experience Manager
I have made this change on this file /apps/sling/xss/config.xml : But nothing has changed, it still returns the error in the log and the href is blank. Does the authoring instance need to be restarted? Or am I missing a step?
2796
Views
0
Likes
3
Replies
Re: links to ppt not working on OOB text component carolynr5682886 - Adobe Experience Manager
Done, Is this the correct change?
2796
Views
0
Likes
5
Replies
Re: links to ppt not working on OOB text component carolynr5682886 - Adobe Experience Manager
Is the place to make the corrections found here? /libs/cq/xssprotection/config.xml/libs/sling/xss/config.xml
2796
Views
0
Likes
7
Replies
Re: links to ppt not working on OOB text component carolynr5682886 - Adobe Experience Manager
ah! yes.15.01.2019 09:54:07.155 *INFO* [10.223.42.151 [1547574847149] GET /author/content/NVEnergy/en/test-2/file-test/jcr:content/content/columncontrol/col-cntrl-1/columncontrol_1784891259/col-cntrl-2/text_copy_copy.html HTTP/1.1] org.apache.sling.xss.impl.HtmlToHtmlContentContext AntiSamy warning: The a tag contained an attribute that we could not process. The href attribute had a value of "/content/dam/nvenergy/brochures_arch/test-2/MPB_Sponsor Slide 2_2018.ppt". This value could not be accep...
3307
Views
1
Like
8
Replies
Re: links to ppt not working on OOB text component carolynr5682886 - Adobe Experience Manager
I've changed: "${text.context == 'unsafe'}" in the component to now be this: ${text.text @ context=text.context}However, the links to ppsx and ppt are still empty.Download Link
3307
Views
1
Like
10
Replies
Re: links to ppt not working on OOB text component carolynr5682886 - Adobe Experience Manager
Also please see the text component itself:
3307
Views
1
Like
12
Replies
Re: links to ppt not working on OOB text component carolynr5682886 - Adobe Experience Manager
Yes Scott, I am using the pathfinder to grab the ppt, ppsx or pps assets from the dam to create the link. I am also using the OOB text component that calls this text.jsAll of the other examples I have on the page using the OOB text component allow the user to download the respective asset from the DAM. The other examples of assets from the DAM are the following: zip, .doc, .docx, .xlsx, .xls, .pptx, ppsHere is an example of the .doc working:
3307
Views
1
Like
13
Replies
links to ppt not working on OOB text component carolynr5682886 - Adobe Experience Manager
Hi,I have a problem with the OOB text component not publishing the links to pps, ppsx or pps assets within the DAM on a page. Currently when I add a link to the ppt, ppsx or pps assets in the DAM via the text component it does not keep the link to the asset in the DAM and returns an empty on the page like so: The text component is OOB using sightly on an AEM 6.2 instance. I've made sure that the ppt, ppsx and pps files have been published, can be accessed through the browser by the DAM link and is not showing as a broken link within the text component on my page. Also I have gone to my instance https:///system/console/mimetypes and found the mimetype associated to the ppt, pps and pps.Example here: How can I get the OOB text component to keep the links to the ppt, pps and pps dam assets?
3607
Views
1
Like
17
Replies
Re: AEM 6.3 - Magento Connector Issue carolynr5682886 - Adobe Experience Manager
@shajiahmed I don't know if you got an answer for this but for me to make it work on my 6.3 instance I had to do the following:go to a 6.2 instance and install the connectorchange the sling:resourceType from: granite/ui/components/foundation/well to: /libs/granite/ui/components/foundation/layouts/wellon the following nodes:/apps/commerce/gui/content/products/importproductswizard/importers/magento/apps/commerce/gui/content/products/importproductswizard/importers/geometrixx/apps/commerce/gui/conte...
10546
Views
0
Likes
0
Replies
Re: AEM 6.3 - Magento Connector Issue carolynr5682886 - Adobe Experience Manager
kumarsonumishra kumarsonumishraI don't know if this will help but in the instance of the connector that I have downloaded for aem 6.3 when I got that error I had to modify the HashMap() class found in the \magento2-aem-connector-master\aem-connector\core\src\main\java\com\infield\magento\catalog\connector\models\MagentoProduct.javato handle empty this.custom_attributesI also had to modify the@JsonCreator public MagentoProduct(@...) to handle when this.price = new BigDecimal(price); is null once ...
10546
Views
1
Like
0
Replies
Re: AEM 6.2 connector to Magento 2 carolynr5682886 - Adobe Experience Manager
Yes, I had to re-write the importer to handle nulls and empty spaces when getting products from Magento. There are nulls and empty spaces because in Magento there are parent products that do not have values filled in for all of the necessary attributes. The code in the importer will do a hard fail if it encounters this, throwing this above exception. Changing the code to handle the nulls or empty spaces will allow the importer to continue on and import the parents and their children. Also, there...
3445
Views
2
Likes
1
Replies
Re: Customizing Adaptive Image component? carolynr5682886 - Adobe Experience Manager
I'm answering my own question now that I have figured it. From my calling jsp I set the following: String height = xssAPI.encodeForHTMLAttr( properties.get("height", "")); String width = xssAPI.encodeForHTMLAttr( properties.get("width", ""));.....then further in the jsp I have:cheight=<%= height %>;cwidth=<%= width %>;.....so that when in my calling external js function I can then call:..... $picImg.attr("height", cheight+"px"); $picImg.attr("width", cwidth+"px");.....The user can then set the height and width via the touch ui generated in the jsp but then rendered by the js function.
1042
Views
0
Likes
0
Replies
Customizing Adaptive Image component? carolynr5682886 - Adobe Experience Manager
Hi,I need to customize the adaptive image component to have a height and width. I have it in the dialog already but I can't seem to get the property inside of the jsp to make it render the final image with the height and width on the page.I've tried it like this: $("div[data-picture]", context).each(function () { var currentPicture = this; var matches = []; var height = this.getProperty("height"); var width= this.getProperty("width"); .... $picImg.attr("height", height); $picImg.attr("width", wi...
1140
Views
0
Likes
1
Replies
Re: Access PageProperties from a Component + Sightly carolynr5682886 - Adobe Experience Manager
What about getting other properties other than the title when using a jsp, such as getting the height?
6542
Views
0
Likes
0
Answers
AEM 6.2 connector to Magento 2 carolynr5682886 - Adobe Experience Manager
Hi Guys I am working with AEM 6.2 and the connector to Magento2. I am getting an exception when I run the product importer through the touch UI or class UI: com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of com.infield.magento.catalog.connector.models.MagentoProduct, problem: nullIn the logs it shows the product json from Magento and I don't see any issues with the format of the json. Here is a sample of the json: at [Source: {"items":[{"id":1,"sku":"24-WG085","n...
3924
Views
1
Like
4
Replies
Re: Problem with image area maps not showing correctly on publish carolynr5682886 - Adobe Experience Manager
Hi Sean-Thanks for the help. I did change and the result did not change. Any other places I can look to adjust? Should I install the hot fix for AEM 6.2?
1508
Views
0
Likes
1
Replies
Re: JCR query on node property instead of JCR creation/modifiy/publish date? carolynr5682886 - Adobe Experience Manager
I don't think that I can get the values back for this property when running the query with the above request for the property value. Through the logger I am not seeing the value being replaced by the property name: 16.05.2017 15:23:00.144 *INFO* [0:0:0:0:0:0:0:1 [1494973379652] GET /content/NVEnergy/en/about-nvenergy/news/news-releases.html HTTP/1.1] com.nvenergy.nvenergy.core.models.PressReleaseList SQL Statement: SELECT * from [nt:base] AS comp WHERE ISDESCENDANTNODE('/content/NVEnergy/en/abou...
1765
Views
0
Likes
0
Replies
Re: JCR query on node property instead of JCR creation/modifiy/publish date? carolynr5682886 - Adobe Experience Manager
So like this? String sqlstmt = "SELECT * from [nt:base] AS comp WHERE ISDESCENDANTNODE('"+pathLocation+"') AND (comp.[pressreleasepublishdate] <> '' AND comp.[pressreleasepublishdate] > CAST('"+julianCurrentDateString+"T00:00:00.000Z' AS DATE)) ORDER BY comp.[pressreleasepublishdate] ASC";
1765
Views
0
Likes
1
Replies
Problem with image area maps not showing correctly on publish carolynr5682886 - Adobe Experience Manager
Hi Everyone-I'm struggling to get area maps to work on our aem authoring instance. I've created area maps on the image in the asset manager and been able to verify that the image can publish successfully without errors. When placed in an image component and then published the page it acts as if the image has no area maps. However if you view the source of the image on the publish instance I can see there is clearly an image map: I can see that in the edit mode of the page there are li...
1768
Views
0
Likes
3
Replies
JCR query on node property instead of JCR creation/modifiy/publish date? carolynr5682886 - Adobe Experience Manager
Hi Guys-I am trying to write a query where I can get content from a location in AEM dated from today's day back 24 months, but the date is not based on the publish/modify/creation date. They are asking for the dates to be based on the content called the" publish release date". I have the following working off the creation date:String sqlstmt = "SELECT * FROM [nt:unstructured] AS comp WHERE ISDESCENDANTNODE(comp, '"+pathLocation+"') AND [sling:resourceType] = 'nvenergy/components/content/pressrel...
2013
Views
0
Likes
3
Replies