In the component.js file i have given the following code
try {
jQuery.sap.require("sap.ushell.cpv2.services.cloudServices.SiteService");
if (sap.ushell && sap.ushell.cpv2 && sap.ushell.cpv2.services && sap.ushell.cpv2.services.cloudServices && sa...
Hi,
I have developed a java web service to view all and download files from the document repository in a folder as coded below:
@RequestMapping(value = "/downloadFile", headers = ("content-type=application/*"), method = RequestMethod.POST)
publ...
Hi,
I have followed this blog SAP Cloud Platform Document Services – Upload files from Fiori application and developed a java web service and an SAP UI5 application.
The web service has been successfully deployed in my trial account. Testing from...
Is there any other way to get the role of a user.Like is there any similar function such as "sap.ushell.Container.getUser().getId()" to the get the user role.Regards,Nikhila George
Hi Mahesh,I need to get the role assigned to each user, UI PFCG Role and compare it with oLocalSiteService.siteModel.getProperty("/roles"); to prevent the user from having access to certain functionalities of the application.Thanks and Regards,Nikhi...
Hello Seshadri,
So as you have mentioned, I tried to get the repository details by adding
"https://<javaApplicationURL>/cmis/json/"
But I am getting "404 - Not Found" error
Also, if we want to access a particular document from our UI5 ...
Hi, I have completed the java web service and when I try to configure my destination I am getting a message 302:moved temporarily. This is how I have configured my destination. Also, how do you consume this webservice in sapui5 application?Thanks in ...
Hi,
As you suggested we developed one webservice in java platform using jersy framework.
In the below code
@POST
@Path("/create")
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_JSON)
public Response create(uploadData uplo...