Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Web Contents do not appear on Web Content Display Configurator.
But now I have a problem. The content of a page was expired, this page is using a Web Content Display, so I went to Configuration in order to select another web content, but in the list of contents, there are no contents listed. In the Web Content section of the site, there are many contents available. This is also happening in every page of the site that is using a Web Content Display.
So how can I figure out what is happening, why there are no contents listed in the configuration of the Web Content Display?
Vishnu S Kumar:Did you tried a full search re-index from server adminstration ?
My problem was solved. Honestly, there was no problem. The
full search re-index toke several hours to finish. So after the
re-index process finished, all web contents were available again. The
first time I run the re-index process, I expected immediate results.
What I didn't know was that I have to wait until the process finished.
Thanks
ok, That make sense. Happy to know that your problem has been solved.Juan Vaca:Vishnu S Kumar:Did you tried a full search re-index from server adminstration ?
My problem was solved. Honestly, there was no problem. The full search re-index toke several hours to finish. So after the re-index process finished, all web contents were available again. The first time I run the re-index process, I expected immediate results. What I didn't know was that I have to wait until the process finished.
Thanks

Juan Vaca:Hi everybody. I just migrated from Liferay 6.2 to Liferay 7.0. So far Everything looks great. The site's theme still needs a couple of adjustments, but in general, everything looks great. But now I have a problem. The content of a page was expired, this page is using a Web Content Display, so I went to Configuration in order to select another web content, but in the list of contents, there are no contents listed. In the Web Content section of the site, there are many contents available. This is also happening in every page of the site that is using a Web Content Display. So how can I figure out what is happening, why there are no contents listed in the configuration of the Web Content Display?
I found a way to make the web contents appear again. Using a
grovy Script
import com.liferay.portal.kernel.service.UserLocalServiceUtil
import com.liferay.journal.service.JournalArticleLocalServiceUtil
articles =
JournalArticleLocalServiceUtil.getJournalArticles(1,999999)
out.println(articles.size());
for( i=0; i<articles.size();i++){
article =
articles[i]
article.setTitle(article.getTitle() +
" ");
out.println("Article " + i +
"Titulo --" + article.getTitle() + "--");
JournalArticleLocalServiceUtil.updateJournalArticle(article)
}
After execution, all web contents showed up again
Powered by Liferay™