Skip to content


LPS-28014 #716

wants to merge 1 commit into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 19, 2012
  1. @lionah
This page is out of date. Refresh to see the latest.
4 ...porter-web/docroot/WEB-INF/src/com/liferay/resourcesimporter/util/
@@ -239,9 +239,11 @@ protected void addLayout(long parentLayoutId, JSONObject layoutJSONObject)
friendlyURL = StringPool.SLASH + friendlyURL;
+ boolean hidden = layoutJSONObject.getBoolean("hidden");
Layout layout = LayoutLocalServiceUtil.addLayout(
userId, groupId, true, parentLayoutId, name, title,
- StringPool.BLANK, LayoutConstants.TYPE_PORTLET, false, friendlyURL,
+ StringPool.BLANK, LayoutConstants.TYPE_PORTLET, hidden, friendlyURL,
new ServiceContext());
LayoutTypePortlet layoutTypePortlet =
Something went wrong with that request. Please try again.