Expand my Community achievements bar.

subnaik
subnaik
Online
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Hi All, I have written one custom jQuery for my Customized Content Fragment. Inside this custom Jquery I want to call the dropdown value and on change dropdown value it will show the text field. For example, in My dropdown 3 values are there called Article, Casestudy and External Link. So when someb...

    Type

    Questions

    Views

    451

    Likes

    0

    Replies

    1
  • Hi All, I have written one custom jQuery for my Customized Content Fragment. Inside this custom Jquery I want to call the dropdown value and on change dropdown value it will show the text field. For example, in My dropdown 3 values are there called Article, Casestudy and External Link. So when someb...

    Type

    Questions

    Views

    340

    Likes

    0

    Replies

    1
  • Dear all,I have one simple service implementation class called ResourceResolverServiceImpl and I want to write JUNIT test class for this. I am very new to this JUNIT test. ************************* ResourceResolverServiceImpl Class *********************import test.contentadmin.core.service.ResourceR...

    Type

    Questions

    Views

    230

    Likes

    0

    Replies

    1
  • Dear all,My issue is resolved. Just adding below line of code in bold testLocationString = testLocationString .replace("name", "communityName"); for (String testLocationString : testLocationsStringArray) { testLocationString = testLocationString .replace("name", "communityName"); JsonObject tes...

    Type

    Questions

    Views

    706

    Likes

    0

    Replies

    0
  • Hi Tanika, Yes I have all imports . But I think you are not clear with my requirement. let me tell you once again. I need to change only name to communityName marked as bold, like here. can we use something like replace "or" anything else rather than so much code. if (communityLocation.has(LOCATION_...

    Type

    Questions

    Views

    739

    Likes

    0

    Replies

    0
  • Hi @Tanika02  and all I changes in my Java class, as shown below , but it is coming error , as shown below  Also I am not sure why you put system.out.println as in AEM it is not working.private void settestLocations(Resource masterResource, Node masterNode, CommunityPublishModel testModel) throws Re...

    Type

    Questions

    Views

    760

    Likes

    0

    Replies

    2
  • Hi All, I have customized CF model, as shown below.   NOTE - My location Name value is coming from database I have written the JSON and in JSON my location name is coming like below.************* JSON **************"testLocations":{"City":[{"id":"161341","name":"Badarganj"}],"Country":[{"id":"157031...

    Type

    Questions

    Views

    795

    Likes

    0

    Replies

    5
  • Hi All, I have written below JAVA  to get my JSON response from Content Fragment.  public static JsonArray getMultiValueAsArray(String contentPath, Value[] values, ResourceResolver resourceResolver) throws RepositoryException { JsonArray array = new JsonArray(); if (values != null) { for (Val...

    Type

    Questions

    Views

    698

    Likes

    0

    Replies

    3
  • thanks , it is working fine 

    Type

    Questions

    Views

    789

    Like

    1

    Replies

    0
  • Hi @arunpatidar and all, Thanks for your reply. But here my requirement is that I want to hide the delete and replace icon for first multifield only in my JavaScript , as highlighted in red in below screenshot. Thanks & Regards  

    Type

    Questions

    Views

    819

    Like

    1

    Replies

    2
Top badges earned by subnaik
Customize the badges you want to showcase on your profile