since ‎07-12-2017
‎15-01-2020
bhoang
Level 3
Re: Required fields doesn't work in multifield in multifield?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Hi ka786,Could you help me update the logic in multifield to fix this bug?Thanks you so much,BienHV

Views

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

Likes

0

Replies

0
Re: The hyperlink of the richtext loss the href
Avatar

bhoang

bhoang
- Adobe Experience Manager
In my AEM have not /apps/cq/xssprotection/config.xml configuration.

Views

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

Likes

0

Replies

0
Re: The hyperlink of the richtext loss the href
Avatar

bhoang

bhoang
- Adobe Experience Manager
I am using AEM 6.2. The first time it work fine. But after long time it happen. I remove AEM and extract again it still heppen. However, In my production it didn't happen. I don't know why.

Views

956

Likes

0

Replies

0
The hyperlink of the richtext loss the href
Avatar

bhoang

bhoang
- Adobe Experience Manager
Hello Friends,I am using richtext for the multiplefield of the touchui. I want to setup hyperlink for a text. After setup and save, I reload the page the hyperlink missing the href. I searched the problem, but I don't know why and how to fix it. Please see the attach images.After save and preview.Missing href:Please help me, Why it happen? and How to fix it?Thanks you so much,BienHV

Views

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

Likes

0

Replies

6
How to config redirect to maintenance page?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Hi all,In AEM, I created two page content/myapp/en/maintenance.html and content/myapp/fr/maintenance.htmlI want create the rule in httpd.conf for maintenance for auto redirect to maintenance page.Example:RewriteRule ^/ /maintenance.html [PT,L]When a user go to myapp.com/content/myapp/en/any_page.html . It will redirect to myapp.com/content/myapp/en/maintenance.htmlWhen a user go to myapp.com/content/myapp/fr/any_page.html . It will redirect to myapp.com/content/myapp/fr/maintenance.htmlPlease he...

Views

779

Likes

0

Replies

1
Re: Required fields doesn't work in multifield in multifield?
Avatar

bhoang

bhoang
- Adobe Experience Manager
I know granite/ui/components/coral/foundation/form/multifieldHowever, the pathbrowse didn't work with coral/foundation/form/multifield

Views

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

Likes

0

Replies

0
Re: Required fields doesn't work in multifield in multifield?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Hi ka786,I am using granite/ui/components/foundation/form/multifieldPlease help me,Thank you so much,

Views

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

Likes

0

Replies

0
Required fields doesn't work in multifield in multifield?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Hi All,I am using multifield in my component for the user config the content. I create multifield in multifield as below and set the required is true.And the form for the user config content as below:Wrong:Right:When I add field at the first-time, it can not validate the required field. I can click Save button to save the content with null required fields.After save, I go to edit content of the component. The existing group can validate required field when I add new page.However, if I add new gr...

Views

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

Likes

0

Replies

6
Re: PathBrowser not working in Multifield coral AEM 6.3
Avatar

bhoang

bhoang
- Adobe Experience Manager
Hi Veena_07,Could you help me how to fix it?Thank you so much,

Views

619

Likes

0

Replies

0
Re: How to get image metadata in singtly?
Avatar

bhoang

bhoang
- Adobe Experience Manager
I find the solution at HTL introduction part 3

Views

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

Likes

0

Replies

0
Re: How to get image metadata in singtly?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Hi Arun Patidar,I thought about that solution. But I don't know how to pass image_src path to the ImageModel model.Example: Singhtly HTML The image model:package com.example.testimage.core.models;import com.adobe.cq.sightly.WCMUsePojo;import org.apache.commons.lang3.StringUtils;import org.apache.sling.api.resource.Resource;import org.apache.sling.api.resource.ResourceResolver;public class ImageModel extends WCMUsePojo { private String altTagImage; private String urlImage; private static final ...

Views

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

Likes

0

Replies

0
How to get image metadata in singtly?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Hi,I am upload image into asset on AEM as below.So I input the information for the image title, description, English Alt text (en_alt_text).I am using assetpicker in the component and select the image above.In my component I want to get the image title, image alt. My code as below:eventImage is the Event photo field name.How tot get the image title, image alt that configuration on the image asset?Thanks you so much!BienHV

Views

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

Likes

0

Replies

4
How to config schema metadata for a page in AEM?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Hi all,I want to config schema metadata for each page on AEM. How to do that?Thank you so much,BienHV

Views

491

Likes

0

Replies

0
Re: How to create XML Sitemap and Robots in AEM?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Thanks you for your help.Please help me. How to configuration Shown in sitemapChange Frequency (for Sitemap)Priority (for Sitemap)Search Engine Index Allowed (Robots.txt)How to config them in AEM. I am using AEM 6.2.Thanks & Best regards,BienHV

Views

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

Likes

0

Replies

1
Re: How to add a clientlibs into the cq author form?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Hi,I don't know the file to be put that code. Can you tell me the file to put that code?This is my page structure in my app.Please help me.Thank you so much,BienHV

Views

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

Likes

0

Replies

1
Re: How to add a clientlibs into the cq author form?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Hi,I can't do that. Because, the page don't have any component. I want the css load when the page load. How to load the CSS into the head. How to load my category in this. home

Views

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

Likes

0

Replies

1
Re: How to add a clientlibs into the cq author form?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Hi I know cq.authoring.dialog will work. However, I can't use it. Because it will effect to all app on the AEM.Example: I have three apps A, B, C. I want to modify a CSS for app B in editor. http://localhost:4502/editor.html/content/b/en/test.html I create an clienlib-editor with category b.editor I don't want to use cq.authoring.dialog . I want to use category b.editor for app B only. I don't want that CSS appear on apps A and C.

Views

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

Likes

0

Replies

1
How to add a clientlibs into the cq author form?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Hello friends,I create an clientlib to validation max, min for multifield. Example: clientlib-multifield-max-min-validationWhen I set the category as cq.authoring.dialog, It worked fine.So, I set the category name as test.multifieldValidation and call it. The js can't load on the form. I tried another jquery script in the same file, it loaded. But the script as below can't load.How to load that clientlib in the cq author for clasic UI and Touch UI?Thanks you so much,The CSS:/* * Copyright 2016 N...

Views

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

Likes

0

Replies

7
How to create XML Sitemap and Robots in AEM?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Hi all,I want to create XML Sitemap and Robots in AEM for SEO (Search Engine Optimize). How to do that? When I create a page it run as HTML not XML. How to auto generate an XML file as Create your Google Sitemap Online - XML Sitemaps Generator Thank you so much,BienHV

Views

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

Likes

0

Replies

5
How to getRunModes() in java class?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Hi all,I want to get the run mode of the AEM in java class. My code as belowpackage com.abc.xyz.core.models;import com.com.abc.xyz.core.exception.HostConfigurationException;import com.com.abc.xyz.core.utility.ApiManagementConfiguration;import org.apache.sling.api.resource.Resource;import org.apache.sling.api.resource.ResourceResolver;import org.apache.sling.api.resource.ValueMap;import org.apache.felix.scr.annotations.Reference;import org.apache.felix.scr.annotations.Component;import org.apache....

Views

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

Like

1

Replies

1
Re: How to get AEM note properties from clientlibs-js?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Thanks you for your help,Could you help me an example?

Views

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

Likes

0

Replies

0
How to get AEM note properties from clientlibs-js?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Hi friends,I created a note settings/hostconfiguration/jcr:content to configuration (subscription key, service host) for my site. So, I create a clientlib clientlib-config (/etc/designs/abc/clientlib-config) to config the sub scription key and service host.Example: settings/hostconfiguration/jcr:contentapiMSubcriptionKey String value="abcxyz123"serviceHost String value="http://0.0.123.5:8080/service/api/"config.js code in the clientlib-configvar apiMSubcriptionKey = "abcxyz123";var url_host = wi...

Views

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

Likes

0

Replies

2
Re: How to insert image icon in richtext editor in touch ui?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Did you mean as below?The clientlib-media with categories rte.coralui2_richtextI added extraClientLibs(String[])=rte.coralui2_richtext in cq:dialogThe experrience-aem node is image note, which display icon in rte.I am tried it but it doesn't work.This is image-insert.js(function ($, $document, Handlebars) { var ExperienceAEM = { GROUP: "experience-aem", TIM_FEATURE: "touchuiinsertimage", TIM_DIALOG: "touchuiinsertimagedialog", CONTENT_URL: "/apps/capitaland/components/content/richtext/popover.ht...

Views

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

Likes

0

Replies

1
Re: How to insert image icon in richtext editor in touch ui?
Avatar

bhoang

bhoang
- Adobe Experience Manager
I renamed the categories to rte.coralui2_richtext . How to call that categories in edit mode. I try but it dosen't work.Thank you so much!BienHV

Views

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

Likes

0

Replies

1
Re: How to insert image icon in richtext editor in touch ui?
Avatar

bhoang

bhoang
- Adobe Experience Manager
When i change to the rte.coralui the icon not display.

Views

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

Likes

0

Replies

2
How to insert image icon in richtext editor in touch ui?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Hi all,I create an custom richtext components in my apps.So, I create an clientlib-media in my component with the categories rte.coralui2 for image icon. It work fine. However, It effected to other apps, that using the richtext editior because my custom richtext component using the categories name rte.coralui2. When i rename the categories name to other name the function doesn't work.How to use it with do it with other categories name to avoid effect to other apps?Thanks you so much!BienHV

Views

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

Likes

0

Replies

8
Re: How to use ckeditor, or other rict text editor of aem in etc/design/myapp/clientlibs for end user?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Hi Kautuksahni,I created a clientlibs in /etc/designs/myapps/clientlib-ckeditor to use basic ckeditor. In the clientlib-ckeditor, I created js folder (with ckeditor.js, config.js, en.js, styles.js) and created css folder (with content.css, editor.css) as below.When I run it have errors as below:If i use the cdn (), it have not error. The error happen when I using ckeditor as an clientlib library.Could you help me, how to fix it?Thank you so much!BienHV

Views

707

Likes

0

Replies

0
Re: How to use rich text editor (RTE) in coral ui?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Hi friends,How to setup number of row for the richText?

Views

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

Likes

0

Replies

0
Re: How to use rich text editor (RTE) in coral ui?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Thanks you,1. I want to set the rows and column for the richtext box. Example the text box same as 20 rows.2. How to use richtext as Clasic UI?Thanks for your help!BienHV

Views

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

Likes

0

Replies

0
How to use ckeditor, or other rict text editor of aem in etc/design/myapp/clientlibs for end user?
Avatar

bhoang

bhoang
- Adobe Experience Manager
Hi all,I want to user rict text editor for text area in form for client user. How to use ckeditor, or other rict text editor of aem in etc/design/myapp/clientlibs? I want have a same riect text editor as AEM forum or ckeditor basic. I tried ckeditor basic from ckeditor.com and add it to etc/design/myapp/clientlib-ckeditor. But it doesn't work.I am using cdn it work fine. But I want to user ckeditor in our clientlib.Please help me how to use rich text editor for client user?Thanks you so much,Bie...

Views

889

Likes

0

Replies

2