• Vipin Bondre
  • NEWBIE
  • 10 Points
  • Member since 2022

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 3
    Replies
Hi,
I am trying to get the files from Azure. I have written simple code as per my understanding to get the response 200 from azure. but i am getting Error
Error is: [Status=Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature., StatusCode=403]
This my code  

String Azure_storageName = 'XYZ';         

String Azure_fileshares = 'XYZ';
String Azure_URL = '.file.core.windows.net/';    
String Azure_StorageKey = 'XYZ';             
String strGMTDate = DateTime.now().formatGMT('EEE, dd MMM yyyy HH:mm:ss z');
String accountSharedKey = Azure_StorageKey;
String authHeader = 'accountSharedKey ' + Azure_storageName;
String strEndpoint = 'https://' + Azure_storageName      + Azure_URL + Azure_fileshares;
HttpRequest req = new HttpRequest();
req.setMethod('GET');
req.setHeader('x-ms-date', strGMTDate);
req.setHeader('Authorization', authHeader);
req.setHeader('x-ms-version', '2015-12-11');
req.setEndpoint(strEndpoint);
Http http = new Http();
HTTPResponse res = http.send(req);
system.debug('response' +res);
 
I have created the Iframe which is the custom component and i want this iframe to be displayed on new tab of my org on click button. I am not able to open it in the new tab of salesfore.
Suggestions are appreciated
Thanks
I have created quick action custom component button and on the button click i want the another custom component  which is Iframe should be open in new tab 
I am new to LWC so plz help
suggestions are appreciated
Hi,
I have created I-frame in SF for a portal and i want to create auto login means that user who is login to SF will automatically login to the portal. Any idea appreciated 
Hi,
I have a requirement to integrate client portal and different application to the salesforce using LWC. Plz guide me on this how to do that.
Hi,
I want to create file system on lightning web component and i am not getting any componet to create the component in which there should be file hierarchy can me maintained. 

Plz suggest me something 
Hi,
I am trying to get the files from Azure. I have written simple code as per my understanding to get the response 200 from azure. but i am getting Error
Error is: [Status=Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature., StatusCode=403]
This my code  

String Azure_storageName = 'XYZ';         

String Azure_fileshares = 'XYZ';
String Azure_URL = '.file.core.windows.net/';    
String Azure_StorageKey = 'XYZ';             
String strGMTDate = DateTime.now().formatGMT('EEE, dd MMM yyyy HH:mm:ss z');
String accountSharedKey = Azure_StorageKey;
String authHeader = 'accountSharedKey ' + Azure_storageName;
String strEndpoint = 'https://' + Azure_storageName      + Azure_URL + Azure_fileshares;
HttpRequest req = new HttpRequest();
req.setMethod('GET');
req.setHeader('x-ms-date', strGMTDate);
req.setHeader('Authorization', authHeader);
req.setHeader('x-ms-version', '2015-12-11');
req.setEndpoint(strEndpoint);
Http http = new Http();
HTTPResponse res = http.send(req);
system.debug('response' +res);
 
Hi,
I want to create file system on lightning web component and i am not getting any componet to create the component in which there should be file hierarchy can me maintained. 

Plz suggest me something 
HI All,

I have a Requirment Integration salesforce with Microsoft Azure Any Ideas appreciated.

Thanks,
Hareesh