cancel
Showing results for 
Search instead for 
Did you mean: 

fsm_extensions sample-ui5 - deployment & Test - Git Resource available?

rgadirov
Participant
0 Kudos
599

Dear SAP FSM experts,

I am currently learning how to develop extensions for SAP FSM which is quite new to me. I need to implement UI5 based extension in FSM and I found this help resources.

https://help.sap.com/docs/SAP_FIELD_SERVICE_MANAGEMENT/fsm_extensions/sample-ui5.html?locale=en-US

Unfortunately, I was not able to successfully deploy the solution afterwards. Is it possible that you provide the github resource with the UI5 sample application so that I can check what is different?

In this github resource, I can only see the sample documentation but no source code behind which would help a lot.

https://github.com/SAP-samples/fsm-extension-sample/tree/CPB-51856-SAP-CP-UI5-extension/docs/assets/...

Thank you and best regards

Rufat

Accepted Solutions (0)

Answers (2)

Answers (2)

armanrod
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @rrufat

Just coming back here to share that the documentation has been updated.

Looking back at your issue, which I hope you have solved by now. When you generate a freestyle Fiori app, by default, it generates an authentication type XSUAA. This means a login screen will pop up when trying to get access to resources of the app. This will mess up the registration of the extension in FSM.

There are some examples in this repository you could have a look at https://github.com/SAP-samples/fsm-extension-sample/tree/main/samples

BR,

Armando

rgadirov
Participant
0 Kudos

Hi armando.rodriguez.sap,

thank you for your quick response, yes, I understand, in the meantime a lot has changed in BTP and UI5.

So maybe an update is possible?

I posted the following issues that I met during the buildup of the FSM sample in here:

https://answers.sap.com/questions/13894379/sapui5-freestyle-application-ui5-destination-route.html?c...

Especially the xs-app.json configuration which presumably needs a route to appconfig.json (for registering) is interesting to know because otherwise the generated app router URL is not valid if trying to register in FSM. I just need a working sample UI5 solution for FSM. In the past I had projects with CAP & FIORI elements app. But I am new to FSM extensions and its specialties. Can you provide a working sample UI5 freestyle or CAP solution, even with empty UI is alright so that I can use as a basis for knowledge and extension?

I tried with another working sample within BTP but registering in FSM was not possible. The Log says:

"msg":"query does not exist for request url /appconfig.json"}"

So, I need these kind of details, please, without source code sample it is extremely difficult to build an FSM compatible solution.

Thank you.

BR
Rufat