Solved
Store data/ access data in/from AEM JCR in AEM 6.3
How to store data in AEM JCR and access it?
How to store data in AEM JCR and access it?
Prefer to use Resource API which are closer to Sling like:
These would assure that when you Create/update a Page/Asset, a proper structure is present. You can also then set the metadata/properties using those API.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.