@ayushn I am not sure if it's possible to have both on the same template.
1. You probably may need to have all the components to support SPA and create a react component placeholder and use the SPA project structure
2. You could provide the headless capability to components using JSON exporter and...
@jezwn You can probably use the Asset API- http://localhost:4502/api/assets.json
and traverse the nodes and look for properties(total). However, this may not be a go-to approach. Groovy would be better.
@ferosekhan You just need to get the runmode and use data-sly-test to match it using a variable isRunModePublish.
You can find your run modes in: http://localhost:4502/system/console/status-slingsettings
Using Java:
slingSettingsService.getRunModes()
Using Slightly:
var SlingSettingsService = ...
@Nirmal_Jose Yes, I would not want to store it on AEM, maybe using some API services via some 3rd party vendors who manage/maintain the data. Are you aware of any such vendors providing such solutions that are reliable?
Also, wouldn't want to make a lot of calls and minimize it as well.
@nikita24tailor You may need to setup translation rules, You can refer- https://experienceleague.adobe.com/docs/experience-manager-learn/sites/translation/translation-rules-editor-technical-video-setup.html?lang=en
@Bhuwan_B I think the only option is to use the paragraph format option on the right side of the RTE for changing it back to paragraph as it persists in its selection until changed manually.
Shift+Enter adds a <br/> tag instead of creating a new element.
@Vani1012 I was talking about the circled area, just to filter out only workflow-related timeline info. for the page in case there is a lost list of activities for the page-