Link from a Fiori application to a normal web application - sap-fiori

It's not a programming question but much more of a concept question.
I have a web application which was built using HTML and JS on the front-side and using Spring MVC on the back-end.
And I want to create a dashboard which can give me a lot of KPI data in a panel just like Fiori menu has.
What I'd like to do is to create those dashboard using Fiori, and when I click on the Fiori panel, it would move me into my web application HTML page.
Is it possible to be done?

Well, yess, you can open any url from a Fiori App or dashboard. You can even create iFrame Integration (if your “other” app will allow it).
You may have deeper integration (since Fiori is also a web app in the end), but that would require deep understanding of both. And may (most probably will) require mods on both apps

Related

Sharepoint Online Development

I am a developer with .net.mvc, angular background. We have some application developed in mvc, angular.
My question is
1. Recently my company want to do the development on share point online(not on premise). I want to develop an app either in angular\MVC which can be deployed and accessed from share point. The app basically calls one of our on premise database displays in a grid. It also involves some crud operation.
Can anyone suggest any ideas for this.
Tried reading through some sites but doesn't helped.
Create SharePoint provider hosted add-in so you could use MVC project web template(a .net MVC project), so you could develop based on your existing .net knowledge.
get started
You could host provider-hosted add-in(MVC web) in azure.
https://www.dmcinfo.com/latest-thinking/blog/id/9543/how-to-create-a-sharepoint-online-provider-hosted-app
Hey Sorry Your question is getting attacked but I believe I have an approach for you.
Normally youd be able to just create a server side webpart but since you are online you wont be able to use MVC and will need to leverage front end solutions or the SPFx Framework.
If you want to go a more pure javascript route you can create an Angular Application like SPJEFF has done. He has built an Angular App that leverages the SharePoint API and runs inside a content and media webpart that you can embed into the page. Please see his blog post for more info. https://www.spjeff.com/2018/12/25/video-angular-2-cli-todo-list/
Your next option is the SPFx route. Its pretty mature for the online community and constantly updated. Heres a quick read on why you should use it. https://learn.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-framework-overview
Please message if you have any questions.

Editable pages approach

I'm working on application with some sort of CMS features. I need some pages to be editable. For instance:
you can edit a text block right in your browser
you can add and remove different modules to your page
For instance, if I have a main page I may want to edit welcome text.
If I have a sidebar I may want to add/remove new modules to the sidebar such as:
email subscription module
social network (facebook, twitter, etc) links block
text block
My application may have several pages, not only one.
I want to keep it simple and I'm looking for the right approach/examples/existing tools.
What's the best pattern / third-party solution for ASP .NET in order to implement this and keep it simple?
If you want to use ASP.NET MVC I think the best solution is to look into Orchard. It's really easy to get up and running, has a rich set of existing modules and building a module from scratch is really easy. This was actually started by a couple of Microsoft guys and then spun out into it's own open source project. http://www.orchardproject.net/

is it possible to separate my admin section from regular web site without creating another web app project?

I built my web application using asp.net mvc3. I need to add admin pages to monitor and manage all user accounts and their posts.
Right now, admin and regular web site are sitting in the same web application. if I only made a small change for the admin pages, i still need to compile everything. is it a way separate them, so I only need to upload admin without touching the web site. the only solution I can think of is to create another web app. is there another way to do it?
You can separate your mvc application into Areas
http://msdn.microsoft.com/en-us/library/ee671793.aspx
Areas help you better organize your application it won't let deploy just that area, but VS2010 does have some good deployment features. Her's a good article
http://weblogs.asp.net/scottgu/archive/2010/07/29/vs-2010-web-deployment.aspx

Mobile site for existing app- New application or conditional rendering in existing app?

I am going to create a mobile site(using Sencha touch) for an existing website. The functionalities are coded already using Ruby on Rails. If I go with adding mobile site to existing one it will make me to add conditional rendering based on the request headers or else go with creating a separate app on m.mydomain.com. I am a bit confused. Please guide me to make a decision.
I would recommend creating conditional rendering inside the existing application, primarily because you will have access to the models and utility classes within that application.
If that's a significant problem for you, you could separate out the two codebases and have the mobile site be an engine of the application, so you would still have access to the main application's classes.
I would go with m.mydomain.com and redirect the user to this automatically based on their device. T
he good thing about this is that you can have a link at the bottom of the page that is "View full website" in case the mobile site isn't what the user wants.
This also makes it easy to have separate views for the mobile site, keeping them cleaner.
I recently made a sample app that you can view on github that does something very similar. The only difference is that I am not detecting the device, I have the user visit the appropriate URL. I also used jquery mobile, but the concepts are very similar. https://github.com/jfriedlaender/mobile_blog

SalesForce integration — custom UI functionality

My company wants to use SalesForce as its backend for a new Web application that we are building. We will host the Web application with an ISP on our own servers. The integration points mainly involve sending customer and transaction data via the API. In essence, the Web application will have its own database, but will send over customer and transaction data to saleforce at key points.
The plan is to use SalesForce as a backend, so that we can save some time in developing all of this. What I don't understand though, is how custom functionality is handled by SalesForce?
Let's assume that our application offers some functionality. How would we expose that functionality in the SalesForce application? Initially I had imagined we could reference this function/page (in our app) via an iframe from the salesforce app — but this does not seem to be possible... are there any other options?
So, to summarise, I need to show parts (or pages) of our web app in the SalesForce UI. If I can achieve this, it would mean that the customer services team can do everything in one interface (handle tickets, update user data etc.).
I am at my wit's end with this, it's even causing some sleepless nights. I would appreciate any useful advice!
If you create a visualforce page using a standard controller, you will be able to embed that visualforce page on page layouts of that object type. You can then iframe your web app into that visualforce page.
I.e. if you create the following visualforce page, you can drag it onto your case layout:
<apex:page standardController="Case">
<iframe src="http://your-web-app-url" style="width: 100%; height: 100%;" />
</apex:page>
You will need seperate but similar visualforce pages if you need your app on other objects than case.
Alternatively, you could expose your data to Salesforce via some API (xml or Json) and then build your application natively in Salesforce with apex and vf. This presents a different set of challenges, but the user experience is better in my opinion.
Consider using Force.com Canvas, now GA, which is an added-value iframe with more security and easier integration with Salesforce APIs than raw iframes - see https://stackoverflow.com/a/17484855/992887
Iframes should be possible - If you are using standard layouts, try creating Visualforce components containing iframes - like the example above.
If it is a simple application/part, I would recommend developing the application on Force.com itself - We have build some very complex enterprise level apps on Force.com - although I would add that Apex/Visualforce is an immature language for building complex apps and many times you will be dealing with its limitations. But once you make it, it works like a charm.

Resources