shishankm566651
Community profile shishankm566651 Level 1
Job title here
Location here
0 BADGES
Level 1

Level 1

Learn more
Joined the community 21-01-2018 12:23:28 AM
Offline
Top badges earned by shishankm566651
Customize the badges you want to showcase on your profile
Content Fragment APIs - Create new fragment using custom model
Avatar
Level 1
shishankm566651
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
shishankm566651
- Adobe Experience Manager
Hello All,We are trying the use Content Fragment APIs to create fragments.We have defined a new content fragment at location: /conf/sample/settings/dam/cfm/models/test-cfUsing API we have the following code: String template = "/libs/settings/dam/cfm/templates/simple/jcr:content";// default template Resource templateResource = getFragmentTemplateResource(request.getResourceResolver(), template); Resource parent = request.getResourceResolver().getResource("/content/dam/we-retail"); ContentFragment...

Views

746

Likes

0

Replies

3