Questions tagged [webresource]

104 questions
2
votes
0 answers

How to make a http GET request with chrome on android using referer

I am trying to solve an interesting problem Using chrome on an Android device create a http GET request to a resource and make it appear like you are following a link to that resource from another web page. In general we use just GET…
yalkris
  • 2,596
  • 5
  • 31
  • 51
2
votes
1 answer

Asp.NET Webresources with better URL

it is possible to write own "webresources provider" in asp.net to change webresources URL which looks like: WebResource.axd?d=qoS8iGdUsV4f8NgR_HS-hHWgRO2CDfStRaaqn7oJ2xBuwIMbn27JNufuUMn-aVlK0& t=634013997250859375" to e.g.:…
Jan Remunda
  • 7,840
  • 8
  • 51
  • 60
2
votes
1 answer

WebResource.axd Encryption String?

When looking at the source code of a page generated by .ASP (to which I'm a noob,) I sometimes see source referenced through WebResource.axd?d= followed by a really long and unreadable string of letters and numbers. I'll take a guess and say it's a…
2
votes
1 answer

How to correctly create javascript webresource programmatically

I'm a crm newbie so forgive my misunderstandings or misadventures. I'm trying to programmatically create a webresource (javascript or jscript to be precise) early bound using the OrganizationServiceproxy like this var context = new…
Hamza Ahmed
  • 1,571
  • 4
  • 18
  • 35
2
votes
1 answer

Javascript function not recognized in CRM 2011 HTML Web resource

Following up from my solved [previous issue][1], I'm having trouble building a simple HTML Web resource containing some basic javascript, page is rendered correctly but script doesn't seem to work properly. My HTML resource is very…
Alex
  • 23,004
  • 4
  • 39
  • 73
2
votes
1 answer

accessing web resources from jar

i am trying to place my web resources in a jar insetad of putting them at the roor dir of the war file. So i followed the post Exposing resources from jar files in web applications (Tomcat7) and placed all my rsources under resources dir, but still…
kunal
  • 779
  • 6
  • 25
1
vote
1 answer

WebResource is not working on the host

I have a class library project which contains a java script file "libscript.js" which is located in the library/Resources/Scripts folder. I marked "libscript.js" file as an Embedded Resource from property window. I also added the following line of…
developer
  • 23
  • 4
1
vote
1 answer

Javascript not returning expected value in power apps web resource (onChange Event)

I found some code online that populates a lookup field based on another lookup field. I have applied it to my scenario and it works fine for the first part. In my scenario, im on an enquiry form and when i use the lookup to select the client the…
1
vote
1 answer

Dynamics CRM: Display PDF from File type field in Web Resource on Form

I've uploaded a PDF file (Size 30MB) on a File type Field. I'm then trying to display the PDF from the field on a web resource but it doesnt show. If I try to display the same PDF from annotation entity, it displays fine. This is how I'm fetching…
3iL
  • 2,146
  • 2
  • 23
  • 47
1
vote
1 answer

Embedded Resources accessed by WebResource.axd links not working in production environment

Ok, this has me stumped. I have several server controls defined in a VB.NET .NET 4 project, lets call it WebControls, to be shared with other projects in the solution. WebControls uses embedded resources (images) so that I don't have to remember to…
Matt
  • 95
  • 2
  • 5
1
vote
0 answers

jQuery ajax basic authentication credentials visible in browser

I have a wcf service protected with basic authentication. This is being called from MS Dynamics CRM JavaScript web resource using jQuery ajax call as; $.ajax({ async: false, type: "POST", beforeSend :…
VJOY
  • 3,752
  • 12
  • 57
  • 90
1
vote
0 answers

Is it possible to refresh Dynamics CRM subgrid from an HTML webresource?

On contact form, for a custom entity say ABC, I am opening HTML web resource using Xrm.Navigation.openWebResource()at onClick of a custom button to add records. Once the user create record form HTML web resource, I need to refresh sub-grid. Below is…
Mohsin A.
  • 153
  • 2
  • 18
1
vote
0 answers

Error while creating URI with com.sun.jersey.api.client.WebResource adding String value to path

Using com.sun.jersey.api.client.Client,ClientResponse and WebResource. Client client = this.client; WebResource webResource = null; ClientResponse response = null; String url = ""; url = "https://test.com/rest/V1/cart/" + quoteId +…
ganna07
  • 21
  • 1
  • 4
1
vote
0 answers

Verification of Google ID token in Java

I am using the below code for verifying the google id token. It always giving me the below error. But with the same headers i am able to do the verification in POST MAN tool. Please help me to resolve this. ClientConfig config = new…
Vineesh P
  • 53
  • 5
1
vote
1 answer

Dynamics 365 Javascript to access form field values

How can I access form field values using Javascript in Dynamics 365 online? This is what I've tried: A script web resource with an "onload" event called on the form "load". This doesn't work. I get [Object object] but I expect a string. …
Leon Gentle
  • 45
  • 1
  • 1
  • 5