Message Boards

I am stuck in fetching webcontent programmatically.

Sanat D, modified 3 Years ago.

I am stuck in fetching webcontent programmatically.

New Member Posts: 17 Join Date: 9/8/20 Recent Posts

Below are my scenarios.

1.) I have created a display page template with Display Page content and a portlet next to it.
Now while rendering the Display Page template I need to fetch the Journal article id of currently opened web content and attach it to my provided portlet.
I am not able to get the journal article id as it is not a portlet in render request.

2.) While creating a site, programmatically I need to add it to the scope of asset publisher of a page. This is again a problem as I am not able to fetch any thing called scope from asset publisher to bind with newly created group id. How and where I can do this??