I have to add custom validation to a multifield component where if I just mention the path name but don't add the link, it will throw an error. How to do this? Please share the js code
We utilized the Experience fragment as the primary navigation (header navigation), and it contains a number of flyouts. We used sly data-sly-resource="$@path=xffragmentpath, selectors='content', wcmmode='disabled'">/sly> to render the flyout on the page. As shown in publish mode, the page takes a lo...
new BufferedReader(new InputStreamReader(<inputStremObject>, StandardCharsets.UTF_8)) I have mocked InputStream, InputStreamReader and BufferedReader and I'm fetching a JSON file asset. <bufferedReaderObject>.readLine() throws IOException (error msg: Underlying input stream returned zero bytes) in m...
Hello, I have rendered images from Dynamic Media on my AEM website instead of DAM. I can see Dynamic Media helping me to render small size image with same resolution on my website . Can some one please help me understand what all point need to check/measure page performance apart from image size (...
We are using content reference datatype field "dam/cfm/models/editor/components/contentreference". We need to make this searchable for the assets similar to pathfield. Could you please help us in doing this customization with all the steps in detail.
I want to get sibling pages of a particular page of which I only have url I know how to get sibling pages of the current page, I used Page class to fetch the sibling pages but I want to know if I can do it for other pages if I have the URL. Please help me to find out if it's possible and if so h...
I have created spa component it is appearing in drag and drop section but in content tree I cant find my component. Even I checked content/ it is visible but on page it is not. Before writing react code I could see parsys of component and even author it but after writing react code and Java Code ...
Hi Community, I was just about to set up a multiple CUG for a few sites in AEM. As for your reference, we are using Gigya RaaS to provide login etc. Setting up CUG`s we are checking Gigya values (as for example profession) to be true to provide login to specific groups. Due to older Registration is...