Hi Arun,
I will explain the scenrio in detailed.
1. I have an editable template(template1) to create pages.
2. I have create a page(page1) by using above template.
3.I have a component (Component1) to call sling model and fetch page properties.
Scenario1: If the component1 is authored in template and then tried to load the page. I am able see template properties as response not page properties.
Logs for scenrio1:
Page:::JcrPropertyMap [node=Node[NodeDelegate{tree=/conf/test-kds/settings/wcm/templates/pdp/structure/jcr:content: { jcr:primaryType = cq:PageContent, jcr:mixinTypes = [mix:versionable], jcr:createdBy = anusha.addepalli, cq:lastReplicationAction = Activate, jcr:versionHistory = 369132ce-20fd-4a47-b362-fe4b619dbf56, cq:template = /conf/test-kds/settings/wcm/templates/pdp, cq:lastReplicatedBy = anusha.addepalli, jcr:predecessors = [cbd664c4-81df-4afe-a0a5-597b3d7d78dc], jcr:created = 2019-07-23T07:35:47.923-05:00, cq:lastReplicated = 2019-05-22T00:46:40.936-05:00, cq:lastModified = 2019-07-31T06:54:18.349-05:00, jcr:baseVersion = cbd664c4-81df-4afe-a0a5-597b3d7d78dc, jcr:isCheckedOut = true, cq:deviceGroups = [/etc/mobile/groups/responsive], jcr:uuid = caf897a4-a22c-45db-9d8e-c673d86f2fbe, sling:resourceType = test/test-kds/components/structure/page, cq:lastModifiedBy = anusha.addepalli, root = { ... }, cq:responsive = { ... }}}], values={cq:template=/conf/test-kds/settings/wcm/templates/pdp, jcr:primaryType=cq:PageContent, jcr:mixinTypes=[Ljava.lang.String;@65c10fbb, jcr:createdBy=anusha.addepalli, cq:lastReplicationAction=Activate, jcr:versionHistory=369132ce-20fd-4a47-b362-fe4b619dbf56, cq:lastReplicatedBy=anusha.addepalli, jcr:predecessors=[Ljava.lang.String;@68d3d17b, jcr:created=java.util.GregorianCalendar[time=1563885347923,areFieldsSet=true,areAllFieldsSet=true,lenient=false,zone=sun.util.calendar.ZoneInfo[id="GMT-05:00",offset=-18000000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2019,MONTH=6,WEEK_OF_YEAR=30,WEEK_OF_MONTH=4,DAY_OF_MONTH=23,DAY_OF_YEAR=204,DAY_OF_WEEK=3,DAY_OF_WEEK_IN_MONTH=4,AM_PM=0,HOUR=7,HOUR_OF_DAY=7,MINUTE=35,SECOND=47,MILLISECOND=923,ZONE_OFFSET=-18000000,DST_OFFSET=0], cq:lastReplicated=java.util.GregorianCalendar[time=1558504000936,areFieldsSet=true,areAllFieldsSet=true,lenient=false,zone=sun.util.calendar.ZoneInfo[id="GMT-05:00",offset=-18000000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2019,MONTH=4,WEEK_OF_YEAR=21,WEEK_OF_MONTH=4,DAY_OF_MONTH=22,DAY_OF_YEAR=142,DAY_OF_WEEK=4,DAY_OF_WEEK_IN_MONTH=4,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=46,SECOND=40,MILLISECOND=936,ZONE_OFFSET=-18000000,DST_OFFSET=0], cq:lastModified=java.util.GregorianCalendar[time=1564574058349,areFieldsSet=true,areAllFieldsSet=true,lenient=false,zone=sun.util.calendar.ZoneInfo[id="GMT-05:00",offset=-18000000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2019,MONTH=6,WEEK_OF_YEAR=31,WEEK_OF_MONTH=5,DAY_OF_MONTH=31,DAY_OF_YEAR=212,DAY_OF_WEEK=4,DAY_OF_WEEK_IN_MONTH=5,AM_PM=0,HOUR=6,HOUR_OF_DAY=6,MINUTE=54,SECOND=18,MILLISECOND=349,ZONE_OFFSET=-18000000,DST_OFFSET=0], jcr:baseVersion=cbd664c4-81df-4afe-a0a5-597b3d7d78dc, jcr:isCheckedOut=true, cq:deviceGroups=[Ljava.lang.String;@c2634ff, jcr:uuid=caf897a4-a22c-45db-9d8e-c673d86f2fbe, sling:resourceType=test/test-kds/components/structure/page, cq:lastModifiedBy=anusha.addepalli}]
Scenario2: If the component is drag and drop in the created page(page1) and then we are able to see page properties as response