since ‎22-05-2013
‎10-12-2019
BigT168
Level 4
Re: Shorten URL in model.json output
Avatar

BigT168

BigT168
- Adobe Experience Manager
Make sense, Thanks.

Views

1.4K

Like

1

Replies

0
Re: Shorten URL in model.json output
Avatar

BigT168

BigT168
- Adobe Experience Manager
in AEM 6.3, Adobe introduces the model.json. When you have a list of pages, you can put core list component as parent of these pages, then list.model.json will output some properties of each child page.What I am asking is the model.json output the path and URL of each child page ​, but both path and URL are not shortened. Is this expected behavior?

Views

1.4K

Like

1

Replies

0
Shorten URL in model.json output
Avatar

BigT168

BigT168
- Adobe Experience Manager
Defined URL mappings in the Apache Sling Resource Resolver Factory of AEM 6.3 SP2, tested the url shortening in the Adobe Experience Manager Web Console Resource Resolve, it works fine.However, when I run page.model.json, none of the URL is shortened. Not sure if this is the way how model.json works, not integrated with configuration. Or may in near future, there is an enhancement. Please let me know.At the same time, any suggestions to output the URL shortening, especially when I use core compo...

Views

2.4K

Likes

0

Replies

5
Re: AEM 6.3 core component: Image not displayed
Avatar

BigT168

BigT168
- Adobe Experience Manager
Thanks.

Views

1.6K

Likes

0

Replies

0
Re: How to fix this issue: InputStream for blobId [c6c3d86184af712a7f2da5a6adff28a4ec9ea0d1#230114801]
Avatar

BigT168

BigT168
- Adobe Experience Manager
Hi Kunwar:Do you know when it will be available? Because we need both content fragment model and AEM 6.3 SP2.By the way, to fix the inputstream issue, we actually just rebuild our environment.Thanks.

Views

2.0K

Likes

0

Replies

0
Re: Create a tag while typing
Avatar

BigT168

BigT168
- Adobe Experience Manager
I refer to the content fragment model.

Views

5.0K

Likes

0

Replies

1
How to fix this issue: InputStream for blobId [c6c3d86184af712a7f2da5a6adff28a4ec9ea0d1#230114801]
Avatar

BigT168

BigT168
- Adobe Experience Manager
Using AEM 6.3, core version 2 with feature package 19008, while trying to bring up a page or install the service package, getting the following error:Error occurred while obtaining InputStream for blobId [c6c3d86184af712a7f2da5a6adff28a4ec9ea0d1#230114801]Does anyone know why I am getting this error and how to fix it?Thanks.

Views

4.3K

Likes

0

Replies

5
Re: How to store the files in the folder other than default for design importer files in AEM 6.3
Avatar

BigT168

BigT168
- Adobe Experience Manager
Just want to organized so each site can find their content in one place.

Views

3.0K

Likes

0

Replies

1
How to store the files in the folder other than default for design importer files in AEM 6.3
Avatar

BigT168

BigT168
- Adobe Experience Manager
in AEM design importer, when uploading the design package, it is stored in the default folder. Just wonder can we save the files under the path defined in the design path of page property? If so, how?Thanks.

Views

3.2K

Likes

0

Replies

3
Re: Create a tag while typing
Avatar

BigT168

BigT168
- Adobe Experience Manager
Thanks, Kunwar.Maybe you are referencing to the tag in the dialog.I am using content fragment model, the tag is from /coral/common/form/tagField. Seems there are different.Will Adobe enhance the tagField used in content fragment model sometime later? Thanks.

Views

5.0K

Likes

0

Replies

4
Create a tag while typing
Avatar

BigT168

BigT168
- Adobe Experience Manager
In AEM 6.3 SP2, using structured content fragment model. One question, how to implement the tag so the author can type any text and it dynamically creates the tag. Similar one as you implemented in this forum?Any help, please.Thanks.

Views

5.2K

Likes

0

Replies

6
why I see three service ID for one service I created
Avatar

BigT168

BigT168
- Adobe Experience Manager
In AEM 6.3 SP1, I create a service@SlingServlet(paths={"/service/prodService"}, extensions = { "json" }, methods = "GET", metatype=false)public class ProdService extends org.apache.sling.api.servlets.SlingAllMethodsServletAfter build/deploy, I check the bundle, it creates three service ID, two of them are exactly same.Service ID 6623 Types: javax.servlet.Servlet Component Name: com.service.ProdService Component ID: 3090Service ID 6624 Types: org.apache.sling.spi.resource.provider.ResourceProvide...

Views

2.1K

Likes

0

Replies

1
How to get content of content fragment in the previous version?
Avatar

BigT168

BigT168
- Adobe Experience Manager
Using AEM 6.3 core version 2 and created a content fragment model.After creating a fragment based on this content fragment model, I can see a list of versions under the Timeline for a particular content fragment, but how to view the content from the previous content fragment? Where does Adobe store the content fragment of previous versions?Thanks.

Views

1.0K

Likes

0

Replies

1
How to modify the tag value in Content fragment model json output
Avatar

BigT168

BigT168
- Adobe Experience Manager
Using AEM 6.3 core version 2.Like content fragment model and model.json output.However, my tag definition is mytag:prod/shoe, mytag:prod/shirt. In the json output, instead the tag value mytag:prod/shoe, I would like to get only shoe without name space and parent's folder.and I also have to know if this is a tag, where to get the metaType=tags?Does anyone know how I can accomplish this?Thanks.

Views

712

Likes

0

Replies

0
Re: Custom Multifield is not working In AEM 6.3
Avatar

BigT168

BigT168
- Adobe Experience Manager
I just tried, it doesn't work without coral foundation.

Views

2.0K

Like

1

Replies

0
Re: Custom Multifield is not working In AEM 6.3
Avatar

BigT168

BigT168
- Adobe Experience Manager
I think you use mix the foundation class, one with coral and one without coral. I add the sale into my dialog, it works for me. The value is false by default otherwise it is enable.If you use all coral foundation class in the dialog, the multifield will store each one as node instead string array.

Views

2.0K

Like

1

Replies

0
Re: Custom Multifield is not working In AEM 6.3
Avatar

BigT168

BigT168
- Adobe Experience Manager
can you show me the dialog definition? It should work.

Views

2.0K

Like

1

Replies

0
Re: Custom Multifield is not working In AEM 6.3
Avatar

BigT168

BigT168
- Adobe Experience Manager
if you define as checkbox, add uncheckedValue there. See an example below.

Views

2.0K

Like

1

Replies

0
Re: Is it possible to achieve with one sling service
Avatar

BigT168

BigT168
- Adobe Experience Manager
Finally, I did this way, not sure if it is best practice.@SlingServlet(paths={"/myService"}, extensions = { "json" },methods = "GET", metatype=true)To access this service, http://localhost:4502/myService.json/home or http://localhost:4502/myService.json/faq, home and faq is the suffix as an input parameter.

Views

1.3K

Like

1

Replies

0
Re: Is it possible to achieve with one sling service
Avatar

BigT168

BigT168
- Adobe Experience Manager
Thank you for the information. It is very helpful.However, I really like the calling URL to be /bin/myservice/home instead /bin/myservice.home. Using sling selector, the URL becomes /bin/myservice.home. Any suggestions?Thank you.

Views

8.6K

Likes

0

Replies

1
Re: Is it possible to achieve with one sling service
Avatar

BigT168

BigT168
- Adobe Experience Manager
I find this article "how to not use selector". Sling: More About Selector Best Practices - Bots & AEM corner Should I just create multiple services?What's the best practice?

Views

8.6K

Likes

0

Replies

3
Re: Is it possible to achieve with one sling service
Avatar

BigT168

BigT168
- Adobe Experience Manager
do you mean /bin/myservice.home/bin/myservice.contactus

Views

8.6K

Likes

0

Replies

5
Re: Is it possible to achieve with one sling service
Avatar

BigT168

BigT168
- Adobe Experience Manager
Define as this @SlingServlet(paths={"/bin/myservice/home","/bin/myservice/contactus","/bin/myservice/yourplan"}, methods = "GET", metatype=true)Use the last word as input variable. In this case, it is either home, or contactus or yourplan.

Views

8.6K

Likes

0

Replies

7
Re: Is it possible to achieve with one sling service
Avatar

BigT168

BigT168
- Adobe Experience Manager
I got it working. Can you please remove this topic. Thanks.

Views

8.6K

Likes

0

Replies

9
Is it possible to achieve with one sling service
Avatar

BigT168

BigT168
- Adobe Experience Manager
Just wonder if it is possible to achieve this.I write a sling service called /wcmapi/myservice. I want to service to handle the URLs.1. https://locahost:4502/wcmapi/myservice/myplan2. https://locahost:4502/wcmapi/myservice/mycontact3.https://locahost:4502/wcmapi/myservice/myhomeThe service will take the last value (myplan or mycontact or myhome) in the url as input to generate different output. since the logic is very simple and output as well, instead creating an interface and implement three s...

Views

8.8K

Like

1

Replies

10
Re: jcr-sql2 query starting with specific string
Avatar

BigT168

BigT168
- Adobe Experience Manager
Can you add one more condition: and not CONTAINS([cq:tags], "global_search_business")

Views

3.6K

Like

1

Replies

1
Re: How to add variations in the content fragment model?
Avatar

BigT168

BigT168
- Adobe Experience Manager
Thank you for your response.However, I ask for adding variation in content fragment model? The variation function exists in content fragment, but not content fragment model.Can you please ask adobe internal developers to see if we are able to use variation for content fragment model?Thanks.

Views

1.3K

Likes

0

Replies

0
How to add variations in the content fragment model?
Avatar

BigT168

BigT168
- Adobe Experience Manager
AEM adds new feature "content fragment model", which can have different content fragment data types. It is very useful feature.However, after following this link (Adobe Experience Manager Help | Getting Started with AEM Content Services - Part 1 - AEM Content Services Set up) ​to define the FAQ, I am not able to create variations, the "Creation Variation" link is not there.Is it possible to have own content fragment model and also include the variation for different channels?Just wonder if adobe...

Views

2.7K

Likes

0

Replies

5
Re: Cannot find /libs/dam/cfm/models for Content Service
Avatar

BigT168

BigT168
- Adobe Experience Manager
Resolved the issue by manually installing each 19008 package. The 19008 package installation just output three different packages, but didn't automatically install them like other packages. Need to install them manually.

Views

1.3K

Likes

3

Replies

0
Cannot find /libs/dam/cfm/models for Content Service
Avatar

BigT168

BigT168
- Adobe Experience Manager
I follow the instruction "Installation on AEM 6.3 SP1" from Adobe Experience Manager Help | Getting Started with AEM Content Services - Part 1 - AEM Content Services Set up to setup content service. In part two, I don't see the "Content Fragment Models" under the Tool -> Asset. Goto CRXDE, Nor the models under the /libs/dam/cfm.Does anyone know what additional package or configuration I need to do in order to see the "Content Fragment Models" under the Tool->Asset?Thanks.

Views

2.5K

Like

1

Replies

4