Skip to main content
algerz81927054
Level 2
Jun 11, 2019 10:50 AM UTC

Is there a method to unpublish a landing page?

Hi there,

I'd like to unpublish a landing page. But I can only see "delete" within the "action" button.

Is there a method to unpublish the landing page but do not need to delete it?

Also, when I check the "properties" of the landing page. I found the "Status" is not editable, it can only be "Online".

Even though I set the End date to be an expired day and the Status shows as "Unavailable", I could still open the landing page correctly.

Looking forward to your help!

Thanks!

Alger

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Jonathon_wodnicki
Community Advisor
Community Advisor
Jun 12, 2019 2:48 PM UTC

Hi,

Right-click the webApp in the list, Actions -> Mass update of selected lines..., change @state and @appState to 'Being edited', submit. Give it time to expire the cache, or restart nlserver6 service.

Thanks,

-Jon

Translate
Level 4
Aug 31, 2023 12:03 AM UTC

If you need to do a bulk unpublish, you could create a workflow, that reads in the WebApps and performs the following javascript:

 

webappAppState = "20" for Closed

 

nms.webApp.Publish(<where><condition expr={'@internalName="' + variable.Internal_name + '"'}/></where>, webappAppState);

nms.webApp.InvalidateWebAppCache(<where><condition expr={'@internalName="' + variable.Internal_name + '"'}/></where>);

 

 

Translate