Questions tagged [webresource]
104 questions
1
vote
1 answer
XML PAYLOAD input with WebResource PUT
I have a xml payload which I am input to a webresource PUT .
I am getting a error 400 bad request
my payload:
100
a
code :
Client client = Client.create();
WebResource…

codehacker
- 381
- 5
- 15
1
vote
4 answers
Dynamics CRM - How to use JQuery in a Javascript Web ressource
I have a script that is launched in ribbon command in order to perform an action but it's written in simple javascript. As I would like to improve it, I would like to use JQuery instead. The script is located in a solution that is uploaded in…

Hubert Solecki
- 2,611
- 5
- 31
- 63
1
vote
0 answers
Trouble getting a JS web resource on a form to communicate with embedded HTML web resource
I'm using an html web resource on a custom entity form to display some information on save of the record. The javascript that runs on save is a web resource on the form. The javascript runs fine until it reaches the function that is supposed to…

Slappy White
- 79
- 1
- 12
1
vote
0 answers
ASP.NET WebResource.axd 404 error
I have an asp.net webpage with an AJAX calendar. The calendar's webresource.axd has started returning error 404. I can't think of something I've recently changed. Not the page, nor the web.config, and not in the .net framework.
I have a (supposedly)…

Indigo121
- 75
- 6
1
vote
1 answer
WebResource with invalid resources
In our intranet environment, the website works well, without problems.
Same address, accessed from outside, have the following result at the end of the WebResource.axd return:
/* START */
/* Skipped loading 15 invalid resources. */
/* END */
The…

igorjrr
- 790
- 1
- 11
- 22
1
vote
1 answer
Java Jersey Webresource encoding
I'm having some problems with a webresource. I want to pass encoded parameter to my request.
Thing is that when I use URLEncoder.encode, it encoded well my param, but when I execute the request jersey will encode it again.
If I pass my param without…

user1687267
- 43
- 1
- 5
1
vote
2 answers
CRM 2011 Queries with valid paging cookie should not be executed in this strategy
I get this error.
Error : 500: Internal Server Error: Queries with valid paging cookie
should not be executed in this strategy
when I invoke this code in a WebResource in CRM 2011
self.loadWorkItems = function () {
var user =…

Peter
- 7,792
- 9
- 63
- 94
1
vote
0 answers
Adding CampaignActivityItem in CRM 2011 gives 403 error
I am creating a Silverlight 4 web resource in CRM 2011 using the Otganizational Data service. I am able to create Campaigns, Marketing Lists, and Print Activities as well as linking the lists to the campaigns. However when I go to link the…

user1987680
- 11
- 1
1
vote
0 answers
Embedding Localized Resources for a JavaScript File In ASP.NET
I want to embed my resource file in my javascript file.
I have:
global.resx
main.js
default.aspx
Added this to the assembly.cs:
[assembly: System.Web.UI.WebResource("main.js", "application/x-javascript")]
[assembly:…

Lee
- 781
- 2
- 11
- 31
0
votes
2 answers
WebResource 404 Hell - can't get JavaScript included in Web Part
I've tried really hard to include a JavaScript file with my WebPart as a resource. The web part class and the flexidgrid.js file are both in the root level of the project. The Web Part is created in DisplaySearchResults.js:
namespace…

Warren J Thompson
- 408
- 1
- 7
- 19
0
votes
0 answers
CRM - Disable clipboard functions on the NON-editable grid on entity home page grid
My requirement is to restrict copy/paste of available data from the non-editable grid from the CRM entity home page.
I know that we can achieve it through JavaScript but certainly not sure how to apply that globally.
Can anyone help here?
// Disable…

Pratik Soni
- 3
- 3
0
votes
0 answers
How to reliably access formContext from HTML web resource in form in model driven app in powerapps?
I am working in a form in power apps and I'm having trouble passing form context to my HTML web resource consistently. It works sometimes, but most often (especially when people are looking) the web resource is unable to access the formcontext…
0
votes
0 answers
Dynamcis 365 - Ribbon Workbench - A custom Button on SubGrid not visible
I have added a new button to the Product Sub Grid on the Order form. for that I did following
Added a custom button
Added a command
Assocoated command to the Button
Added Enable Rule for the command button via calling a JS function from Web…

PGautami
- 1
0
votes
0 answers
JS Code for custom button using CRM Ribbon Workbench
I'm not a code ninja.. I've been using chatGPT to help me write some code for a model driven power app.
The code saves a form once all the required fields are filled in and should progress it to the next stage which is an approval cloud flow.
I…

dannydog
- 11
- 2
0
votes
0 answers
Cant understand why im getting this error in .js webresource for MS Power Apps
As the title says, i cant seem to understand why im getting this error for an on change event on a model driven app form. i have to be honest, im using code snippits and chatGPT to try and formulate this because i haven't got a clue!! but i think im…

dannydog
- 11
- 2