Quantcast
Channel: Adobe Community: Message List
Viewing all 88739 articles
Browse latest View live

Core Components [Teaser] - Proxy Dialog features do not work

$
0
0

I am trying to proxy/implement the Teaser component into a new component which adds an additional dialog field. The RTE in the Text section of the dialog is not reflecting any changes made to the <paraformat> node. Below is the entire descriptionGroup node. I only have 2 paragraph formats, but it is always showing the h1-h6 titles, and it also does not show the special characters option within the RTE in the dialog.

 

<descriptionGroup    granite:hide="${cqDesign.descriptionHidden}"    jcr:primaryType="nt:unstructured"    sling:resourceType="granite/ui/components/coral/foundation/well">    <items jcr:primaryType="nt:unstructured">        <description            jcr:primaryType="nt:unstructured"            sling:resourceType="cq/gui/components/authoring/dialog/richtext"            fieldDescription="A description to display as the subheadline for the teaser."            fieldLabel="Description"            name="./jcr:description"            useFixedInlineToolbar="{Boolean}true">            <rtePlugins jcr:primaryType="nt:unstructured">                <format                    jcr:primaryType="nt:unstructured"                    features="bold,italic"/>                <justify                    jcr:primaryType="nt:unstructured"                    features="-"/>                <links                    jcr:primaryType="nt:unstructured"                    features="modifylink,unlink"/>                <lists                    jcr:primaryType="nt:unstructured"                    features="*"/>                <misctools jcr:primaryType="nt:unstructured">                    <specialCharsConfig jcr:primaryType="nt:unstructured">                        <chars jcr:primaryType="nt:unstructured">                            <default_copyright                                jcr:primaryType="nt:unstructured"                                entity="&amp;copy;"                                name="copyright"/>                            <default_euro                                jcr:primaryType="nt:unstructured"                                entity="&amp;euro;"                                name="euro"/>                            <default_registered                                jcr:primaryType="nt:unstructured"                                entity="&amp;reg;"                                name="registered"/>                            <default_trademark                                jcr:primaryType="nt:unstructured"                                entity="&amp;trade;"                                name="trademark"/>                        </chars>                    </specialCharsConfig>                </misctools>                <paraformat                    jcr:primaryType="nt:unstructured">                    <formats jcr:primaryType="nt:unstructured">                        <default_p                            jcr:primaryType="nt:unstructured"                            description="Paragraph"                            tag="p"/>                                                                                                                                                 <default_blockquote                            jcr:primaryType="nt:unstructured"                            description="Quote"                            tag="blockquote"/>                    </formats>                </paraformat>                <table                    jcr:primaryType="nt:unstructured"                    features="-">                    <hiddenHeaderConfig                        jcr:primaryType="nt:unstructured"                        hiddenHeaderClassName="cq-wcm-foundation-aria-visuallyhidden"                        hiddenHeaderEditingCSS="cq-RichText-hiddenHeader--editing"/>                </table>                <tracklinks                    jcr:primaryType="nt:unstructured"                    features="*"/>            </rtePlugins>            <uiSettings jcr:primaryType="nt:unstructured">                <cui jcr:primaryType="nt:unstructured">                    <inline                        jcr:primaryType="nt:unstructured"                        toolbar="[format#bold,format#italic,format#underline,#justify,#lists,links#modifylink,links#unlink,#paraformat]">                        <popovers jcr:primaryType="nt:unstructured">                            <justify                                jcr:primaryType="nt:unstructured"                                items="[justify#justifyleft,justify#justifycenter,justify#justifyright]"                                ref="justify"/>                            <lists                                jcr:primaryType="nt:unstructured"                                items="[lists#unordered,lists#ordered,lists#outdent,lists#indent]"                                ref="lists"/>                            <paraformat                                jcr:primaryType="nt:unstructured"                                items="paraformat:getFormats:paraformat-pulldown"                                ref="paraformat"/>                        </popovers>                    </inline>                    <dialogFullScreen                        jcr:primaryType="nt:unstructured"                        toolbar="[format#bold,format#italic,format#underline,justify#justifyleft,justify#justifycenter,justify#justifyright,lists#unordered,lists#ordered,lists#outdent,lists#indent,links#modifylink,links#unlink,table#createoredit,#paraformat,image#imageProps]">                        <popovers jcr:primaryType="nt:unstructured">                            <paraformat                                jcr:primaryType="nt:unstructured"                                items="paraformat:getFormats:paraformat-pulldown"                                ref="paraformat"/>                        </popovers>                    </dialogFullScreen>                    <tableEditOptions                        jcr:primaryType="nt:unstructured"                        toolbar="[table#insertcolumn-before,table#insertcolumn-after,table#removecolumn,-,table#insertrow-before,table#insertrow-after,table#removerow,-,table#mergecells-right,table#mergecells-down,table#mergecells,table#splitcell-horizontal,table#splitcell-vertical,-,table#selectrow,table#selectcolumn,-,table#ensureparagraph,-,table#modifytableandcell,table#removetable,-,undo#undo,undo#redo,-,table#exitTableEditing,-]"/>                </cui>            </uiSettings>        </description>        <descriptionFromLinkedPage            jcr:primaryType="nt:unstructured"            sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"            checked="{Boolean}false"            fieldDescription="When checked, populate the description with the linked page's description."            name="./descriptionFromPage"            text="Get description from linked page"            uncheckedValue="{Boolean}false"            value="{Boolean}true"/>         <eyebrow            jcr:primaryType="nt:unstructured"            sling:resourceType="granite/ui/components/coral/foundation/form/textfield"            fieldDescription="A title to display as the eyebrow for the teaser."            fieldLabel="Eyebrow"            name="./eyebrowText"/>    </items></descriptionGroup>                                                    

Conversion event reported for both activity location URL and target URL in CTA element

$
0
0

I created an A/B test in Target that used a redirect to show a redesigned page to half the visitors, with the goal measured by "Clicked an element". The report in Target was configured to show Conversion Rate grouped by Unique Visitors. Activity Conversions seemed usually high for the visitors that experienced the redirect, so I viewed the Target Experiences Report By Pages in Analytics.

 

 

It showed that the conversions reported in Target (for the redesign/redirect experience only, not the control experience) were counted for BOTH the URL's specified in the activity location, but also the URL that the visitors arrived on AFTER they clicked the CTA element on the first URL.

 

 

I do not want the latter to inflate the conversion rate shown in Target. Any idea why Target is reporting activity conversions for pages not specified as an Activity Location? Should the target audience have been filtered for Unique Visitors to the Landing Pages only?

Re: Load at.js async while launch is loaded synchronously

$
0
0

Hi sabithar6283303 , at.js itself is asynchronous. Once you load the script onto the page (which is what Launch is doing sync) the rest of Target is async. Target (at.js) is bundled with the launch library. So the "at.js" will be delivered to the page sync if Launch is sync. However, all the calls that the at.js makes are async calls to Target server.So there  is no other steps you need to take specifically in Launch to load target libraries asynchronously.

Re: When is an Audience Ready to Use ?

Re: Web Application errors

$
0
0

Hi Lucase,

 

We are experiencing the same issue, I see in the log files this line below. It isnt an access management issue, Its the IP trying to host the web preview. Hopefully this helps someone in the future, but it seems you have to add that IP to the securityZone section in the config file

 

log line --> XSV-350147 Previews are not authorized via the 198.208.3.250 address. (iRc=-56)

Re: Editable Template - Retrieve component dialog value

$
0
0

Hi sathya prakasha14176564

 

If you have created a design dialog of a navigation component and want to retreive it in component HTL file.The corresponding data is stored inside policies of editable template and can be simply retrieved using ${currentStyle.propertyName}

 

Regards,

Arpit Varshney

Bulk Editor - supported property data type

$
0
0

Hello Everybody,

 

We are using Bulk Editor to copy a date type property value(prism:expirationDate) from ./jcr:content/metadata/prism:expirationDate to ./jcr:content/abc:expirationDate.

Export and import from source path to destination working fine and able to copy the value, but copied value type at destination is "String" whereas expected type is Date.

 

Not sure if Bulk Editor is having any limitation on property data types.

Any suggestions please ?

 

AEM version 6.4.2

Re: Migrating to s3 datastore

$
0
0

java -jar oak-upgrade*.jar upgrade –-mmap –-copy-binaries –-src-datastore=/absolute-path/cq5/author/crx-quickstart/repository/segmentstore –-datastore=/absolute-path/cq5/author/crx-quickstart/repository/repository/datastore /absolute-path/cq5/author/crx-quickstart/repository /absolute-path/cq5/author/crx-quickstart/repository_new


I have also tried without the "upgrade", with single dashes, and with different orderings of the additional parameters either before the options or after.


Re: [New] Welcome to AEM Community! Please Introduce Yourself

$
0
0

My name is Chris, front end developer here, I have few months using AEM, I find it complex but very useful for large companies. I hope to learn a lot and help as much as I can.

Re: Including clientlib with async/defer, but ensuring it's included only once?

$
0
0

Thanks for the response. The only way I could find of doing #1 (including clientlibs on a per-component basis) involved putting the include in the component HTL, rather than in the document head or at the end of the body. This is why I started to look into how to add async/defer in the first place, since I didn’t want a script in the middle of the page to block the rendering.

 

Ideally, I wanted to keep the number of requests down by creating bundles for groups of components that are loaded as needed rather than a separate file for each component.

 

The reason I didn’t want to do #2 (throw everything in a single component bundle) was to keep the page size down and not load a lot of JS/CSS that is never used.

 

I’m relatively new to AEM development so it’s possible that I’m missing something. I did consider whether creating different static page templates and loading different bundles there would be the way to go - this might be a more "AEM way" of doing things? Potential issues with this would be a) being overly restrictive for marketers in terms of what components they can use, and b) situations where a resource-heavy component is only used in a small percentage of pages of its template type.

 

Thanks again, looking forward to hearing your thoughts on this!

Re: How to interact with an existing coralUI component?

$
0
0

I believe the solution is to simply get the underlying DOM element from the JQuery object. For example, the code below is to interact with a checkbox created within a div with class "rte-dialog-columnContainer";

 

var jqueryCheckbox = $(".rte-dialog-columnContainer coral-checkbox");


// then getting the underlying element (assuming there's just one) from the JQuery collection:
var coralCheckbox = jqueryCheckbox.get(0);


// calling various API methods/attributes:
coralCheckbox.checked = true;
coralCheckbox.checked = false;


coralCheckbox.get("checked");
coralCheckbox.set("checked", true, true);
coralCheckbox.set("checked", false, true);

 

API reference:

https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/ coral-ui/coralui3/Coral.Checkbox.html

 

-----

Apologies, I just realised that Davorin already answered the question - by getting the DOM element directly. Either way, this can be used to get the Coral object via JQuery.

WCMUsePojo and getRequest()

$
0
0

Hi,

 

I am attempting to implement a new feature on our site, with code provided by a vendor. They have provided a .jar and example .jsp files. I am in the process of converting the jsp to HTL/WCMUsePojo class. In their .jsp example they have:

 

IXFSDKParameters parameters = new IXFSDKParameters(request);

IXFSDKClient client = new IXFSDKClient(ixfConfig, response, parameters);

 

From what I have found online, it appears in my WCMUsePojo class I should be able to get the request and response objects from getRequest() and getResponse(). I have tried getRequest() but it returns null.

 

Is there anything I'm missing in the java class? Our site uses many classes that extend WCMUsePojo but we have not tried to access the request/response objects from them before.

 

Thank you!

Question about Mobile Services

$
0
0

We have a mobile app coming out and the company did not get mobile services, only mobile analytics. However, we're doing a container wrap with the ecommerce part of the site and I'm seeing that mobile services UI supports Chrome, firefox, safari, and edge.

 

Does this mean that without mobile services, we can't track actions in the container that aren't mobile native?

 

 

 

E073C0B8-BB8F-45EC-AA8F-266281831409.jpeg

What does BAAAM stand for?

$
0
0

Hi!

 

Silly question, what is the acronym meaning of BAAAM?

 

Is it Bulk APIs for Adobe Audience Manager?

Re: Page URLs in Adobe Analytics

$
0
0

where and how do you set the pagename variable? are you sure the "pagename" is correct on the data sent to adobe analytics?

since we use this setup very often and haven't had any problems, it's hard to see/imagine a problem without access to your implementation...


Re: How to print the export PDF project?

Re: How to modify height of textfield of repeating table using Javascript

$
0
0

Hi there,

 

I don't think setting the height for each field in a loop is the best method...

You might want to create a field which will contain the highest value and then set each of them individually within the layout:ready or initialize event...

 

But beware, this is not recommended, because as soon as you control the height of the fields based on multiple fields, an issue will be created. When you assign a height to a field and then the field with the highest height is reduced, all the fields will stay as you initially set it as the highest because their height are never reduced.. so technically it will never reduce and only go higher.

Re: 1:M link in ACS FK (relationship)

$
0
0

May I know what datatype is that? I don't remember the error, will try again and let you know.

Re: Make segments ignore date filters in workspace

$
0
0

Would you be able to share the segment you've used for your audience creation?
Are you storing the userType in a persisted variable like an eVar?
Its very likely there is a work around for this based on how you create the segment.

Re: ACS Push notifications with AEP SDK

$
0
0

Hi rupaljain2408

 

If you look at document, it says

  • The data elements that are defined in Experience Platform Launch should be enclosed in double percentages, for example %%mcid%%, and context variables from app should be enclosed in single percentages, for example %contextdata.email%.

 

In the PII postback body that you have shared context variables are enclose in double percent.

Please wrap it in single percent and add context.before context variable name. Your PII post back body should look something like

{

"language":"{%contextdata.language%}",

"company_number":"{%contextdata.company_number%}"

}

 

On mobile application side, In the map/dictionary that you will be passing to MobileCore.CollectPII, use keys language and company_number (don't pre append contextdata.).

 

If it doesn't work after that, then look for the following console log and share here.

Log should be something like this:

 

{

   "triggeredconsequence":{

      "id":"{some id}",

      "detail":{

         "templatebody":"{post back body}",

         "timeout":0,

         "contenttype":"application/json",

         "templateurl":"{url string}"

      },

      "type":"pii"

   }

}

Viewing all 88739 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>