Is there a method to unpublish a landing page? | Community
Skip to main content
algerz81927054
Level 2
June 11, 2019

Is there a method to unpublish a landing page?

  • June 11, 2019
  • 2 replies
  • 2103 views

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
June 12, 2019

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

Level 4
August 31, 2023

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>);