Is it possible to develop an sapui5 application inside liferay portal?
I've saw a post which describes a liferay with Jquery (https://web.liferay.com/pt/web/nathan.cavanaugh/blog/-/blogs/using-jquery-or-any-javascript-library-in-liferay-6-0).
Anyone has tried run sapui5/openui5 application inside liferay portal?
Related
A year ago, We had embedded the Dashboard in Liferay 6.2 portal easily as using the following link.
https://www.syncfusion.com/kb/10328/publishing-dashboards-in-liferay
Now, we couldn't achieve the same in current the Liferay 7.2. Current UI is not same as old Liferay 6.2, it totally different from old UI.
I know, how to embed the dashboards in other application and portal. But don't know the ways to create cloud portal and go to Pages section on it.
How to create cloud portal easily and go to Pages section to achieve my embedding part?
I am using VS 2017 and have successfully setup to use Stateless Web API. I can see the output of the default controller when I run it.
Now, I want to create web pages within this project and use AngularJS SPA within it to access its own API.
I am unable to find any examples which clearly show how to do this. Note this is ASP.NET Web API - not ASP.NET Core.
Someone please help.
I opened a support ticket with Microsoft and this can be done with the ASP.NET Web API support in service fabric. Web pages can be added to the self-hosted web api project, but each file has to be individually configured for this project - if you have hundreds of files, it does not allow you to configure the entire folder contents for the project, because you have to mark each file to build as content. The example they sent me is an obscure article in a Microsoft blog from a Microsoft Engineer nobody has heard of before.
Not worth it. Use the ASP.NET Core support.
I am new to Liferay portal. Is there any possibility within Liferay portal to extract portlet as different web application?
Plugin portlets are typically deployed as a separate web application. If you're asking about Liferay's core portlets: No, they are contained in Liferay. All of the plugins are downloaded separately and installed as a different web application
If you want share your portlet, Liferay has some features.
Drag and drop your portlet in page and then click on configuration icon.
In the popup select Sharing tab
You can choose your preferred sharing mode (embedded javascript, facebook,.).
When you share a portlet, be careful about permission settings otherwise users will not be able to view it.
Another chance is to use porltet url, see FriendlyUrlMapper wiki
This is an example for portlet HelloWorld in /web/guest/home page
http://localhost:8080/web/guest/home?p_p_id=helloWorld_WAR_HelloWorld&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1
I followed this tutorial and successfully created a custom service application in my sharepoint server, my question is how to consume it from another sharepoint solution, for example I created a new empty sharepoint project and added a new application page, how I can get access to strongly type service application object from the code behind of application page?
Thanks for your help
You need to create Service Application Proxy by using SPServiceApplicationProxy. You can see the video and sample code in Creating Custom SharePoint 2010 Service Applications and Consumers.
I am trying to implement personalization (WebPartManager and WebParts) on ASP.NET application deployed to SharePoint as application pages (Separate application and aspx pages deployed to _layouts).
I'd like to take advantage of SharePoint personalization provider, so I can just wire up the provider to WebPartManager in the ASP.NET application. However SharePoint seems to call SPRequest object to perform these tasks, and does not have a provider for personalization.
The second option I tried was to use SharePoint WebPartManager on these pages but it does not seem to work because application pages are not uploaded pages inside the SharePoint content database, so I receive errors when I try to add/personalize a webpart.
Does anyone know a clean way to utilize SharePoint personalization on application pages?
Normally, application pages are not tied to a specific site. And the webpart manager keeps the personalization values with the page in the site the page comes from.
You can probably accomplish what you are trying to do by using ASP.NET personalization. But then you have to use the ASp.NET personalization infrastructure which [I think] wants to use SQL Server by default.
Of course, the drawback to this is that you will have 2 personalization infrastructures implmented. This could mean deployment headaches.
Roger Williams
Franklin Laboratory
You may want to use page layouts with publishing pages instead of application pages.
Application Pages are ment to be shared across the Application in the Farm and doesnt support personalization. You need to deploy them as the Publishing pages to make use of the Personilization. You can try upload these files using features and as the Ghostable. So that you dont need to place them in the Pages Library you can have it in any web folder you want . For more information refer this link