Expand my Community achievements bar.

Nupur_Jain
Nupur_Jain
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Hi @sanchay1   looking at the error you are getting in build, the build is unable to find SDK in maven central repository. You need to setup adobe repository in order to download this particular artifact. For this, follow https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-174...

    Type

    Questions

    Views

    1.6K

    Like

    1

    Replies

    0
  • Hi @sean12341    The syntax you see here totally aligns with JS standard. It is just that the name "Class" that makes the whole thing confusing.  Now check Js file in libs which is /libs/clientlibs/granite/richtext/base/Class.js.   Here, Class  is being defined as JS Object which is then declared to...

    Type

    Questions

    Views

    488

    Likes

    3

    Replies

    0
  • Hi @sateeshreddy    The task you want to achieve does not fit to extending component usecase. You chose to extend when to want to add/delete fields/properties in dialog and html OR you want to change styling etc. But here the number of fields are going to be totally different and require full new di...

    Type

    Questions

    Views

    878

    Like

    1

    Replies

    0
  • Hi @sateeshreddy I am assuming you want to get cq:tags property values of page in component. If that is so, 1. First get Page object of currentPage like  @ScriptVariable private Page currentPage; 2. Then you can get page tags like   Tag[] tags = currentPage.getTags(); ORcurrentPage.getProperties...

    Type

    Questions

    Views

    1.7K

    Like

    1

    Replies

    0
  • Hi @sateeshreddy    Could you please give us more context like: 1. Is sling model being called on page component or content component?you can also directly use annotation @Inject or @ValueMap to get values like:@Inject ()@Named("cq:tags") String[] cqTags;OR@ValueMapValue(name="cq:tags")String[] cqTa...

    Type

    Questions

    Views

    1.7K

    Likes

    2

    Replies

    2
  • Hi @fionas76543059    You can embed the jar using the following way: In AEMasCS project/ archetype project with version >= 24, OSGi bundle out of core module is embedded in all module as opposed to ui.apps module (Old project structure) Add dependency for third party jar in all pom.xmlAdd <embedded>...

    Type

    Questions

    Views

    3.7K

    Like

    1

    Replies

    1
  • Hi @nbhart    I decompiled the org.apache.sling.resourceresolver.impl.ResourceResolverFactoryActivator class which is providing the configuration for resource resolver mapping. I have found that when it reads the list of mapping provided by us, it divides the mapping into 3 parts with help of regex ...

    Type

    Questions

    Views

    890

    Like

    1

    Replies

    0
  • Hi @webdev91    You can use Bundle Activator to refresh the service. Find below the sample code:     public Promise<Void> enable(ComponentDescriptionDTO dto, ServiceComponentRuntime scr){ return Optional.ofNullable(dto) .map(scr::enableComponent) .orElse(getFailedPromise()); } ...

    Type

    Questions

    Views

    1.2K

    Likes

    2

    Replies

    1
  • Hi @naveen_27_05    You can use Foundation Validator.You can follow this blog https://aemhints.com/2020/11/02/validating-dialog-value/ Here, if you check, field is checked against regex and if regex matches, js function return nothing which means field is valid otherwise it returns some error messag...

    Type

    Questions

    Views

    904

    Like

    1

    Replies

    0
  • Hi @Jeremy98    You can follow these steps:   1. Add Favicon Icon to Client library resources folder like /apps/<your-project>/clientlibs/clientlib-site/resources/images/favicon.ico 2. Add Dispatcher Rewrite Rule in rewrite.rules file to map /favicon.ico to favicon file on clientlibrary like ##favic...

    Type

    Questions

    Views

    775

    Likes

    2

    Replies

    0
Sort by
  • Recently earned
  • Unearned first
  • A-Z
  • Z-A
Give Back 200 6/27/23 Earned by 276 People
Seeker 1/27/23 Earned by 708 People
Engage 1 5/31/22 Earned by 1,154 People
Give Back 100 8/10/21 Earned by 481 People
Give Back 50 8/10/21 Earned by 888 People
Establish 4/26/21 Earned by 4,844 People
Ignite 1 4/26/21 Earned by 39,796 People
Give Back 5 4/26/21 Earned by 8,951 People
Give Back 3 4/26/21 Earned by 14,392 People
Give Back 25 4/26/21 Earned by 1,848 People
Give Back 10 4/26/21 Earned by 4,526 People
Give Back 4/26/21 Earned by 35,191 People
Boost 50 4/26/21 Earned by 948 People
Boost 5 4/26/21 Earned by 6,842 People
Boost 3 4/26/21 Earned by 10,301 People
Boost 25 4/26/21 Earned by 1,722 People
Boost 100 4/26/21 Earned by 529 People
Boost 10 4/26/21 Earned by 3,853 People
Boost 1 4/26/21 Earned by 22,013 People
Applaud 5 4/26/21 Earned by 5,928 People
Affirm 50 4/26/21 Earned by 253 People
Affirm 5 4/26/21 Earned by 1,130 People
Affirm 3 4/26/21 Earned by 1,697 People
Affirm 25 4/26/21 Earned by 413 People
Affirm 10 4/26/21 Earned by 700 People
Affirm 1 4/26/21 Earned by 6,209 People
Unlock Earned by 164 People
Unlock 2 Earned by 10 People
Validate 1 Earned by 16,075 People
Validate 10 Earned by 706 People
Validate 25 Earned by 165 People
Validate 50 Earned by 43 People
Validate 100 Earned by 23 People
Validate 250 Earned by 13 People
Validate 500 Earned by 7 People
Validate 1000 Earned by 6 People
Validate 2000 Earned by 3 People
Applaud 25 Earned by 1,198 People
Applaud 50 Earned by 551 People
Applaud 100 Earned by 245 People
Show more