Hi,
use below code to create date field in custom CF
@component
public class CustomContentFragment {
@reference
private ResourceResolverService resourceResolverService;
public void createContentFragment(String fragmentPath, String dateFieldValue) {
ResourceResolver resourceRes...
Hi @pmhaem
Use below to get cq:lastReplicated value and then convert date to string as per your dateformat before adding to jsonobject.
ValueMap properties = hit.getProperties();
if (properties.get("cq:lastReplicated") != null) {
java.util.Date replicatedDate = properties.get("cq:lastReplicated...
RDE (Remote Development Environment) is configured with limited write access to certain areas of the JCR repository, such as /apps,/libs, or other system-related paths. Hence Adding nodes under app is not allowed in RDE environments.
Hi @Ameen_Dev
You need to refine your query like:
path=/content/..<your path>
fulltext=companyName
1_property=text
1_property.operation=exists
2_property=meta
2_property.operation=not //avoid search in meta
3_property=script
3_property.operation=not //avoid search in script
&p.limit=-1
for more ...
There is no OOTB solution in AEM to persist a disabled state for a Content Fragment Model field.You need to customize the content fragment. You can overlay default dialog/component and set the property which you want to make it disabled and write custom model
@Model(adaptables = SlingHttpServletRequ...
Hi,
Error indicates that the system is unable to locate a script script.webcomponent.html. This likely means that the page you're trying to load is referencing a component or script file that either no longer exists or moved?
Can you verify page template is correctly configured and includes all ...
Utilize the Page object available in the Sling model.
package com.test.core.models;
import org.apache.sling.api.SlingHttpServletRequest;
import org.apache.sling.models.annotations.Model;
import org.apache.sling.models.annotations.injectorspecific.Self;
import org.apache.sling.models.annotations...
Hi @arunpatidar
Discussed with Adobe team and As per them, console is not supported in adobe mesh hence it will not work.
We can debug it only. So we can closed this ticket
Hi,
Discussed with Adobe team and as per them, console is not supported in adobe mesh hence it will not work.
We can debug it only. So we can closed this ticket