ondemand

JSessionId (httponly cookie) not sent to web service from Javascript

◇◆丶佛笑我妖孽 提交于 2019-12-25 00:36:29
问题 We have a web applet that loads under the URL https://secure-ausomxeja.crmondemand.com/OnDemand/... from where we are making a web service call within the same domain (https://secure-ausomxeja.crmondemand.com/Services/Integration) using JQuery. We are not able to understand the fact that JSessionId (a httponly cookie) is not getting passed in the JQuery web service call even though everything is happening in the same domain. Interestingly, if the web service URL would start with https:/

How to run ondemand workflow over all pages

假如想象 提交于 2019-12-24 05:54:09
问题 I have to run an ondemand workflow over my custom entity, lets say i have 1 million records, so how can i run this work flow over these records. since, as far as i know we can only select the record and from ribbon click run workflow and specify it. In this way for max in single try, i can only select one page records and hence limited access any idea? 回答1: You cannot do that with the UI. The simplest approach would be with a small program which selects all records and trigger the workflow

On-demand require()

青春壹個敷衍的年華 提交于 2019-12-20 03:46:41
问题 Say I create a library in ./libname which contains one main file: main.js and multiple optional library files which are occasionally used with the main object: a.js and b.js . I create index.js file with the following: exports.MainClass = require('main.js').MainClass; // shortcut exports.a = require('a'); exports.b = require('b'); And now I can use the library as follows: var lib = require('./libname'); lib.MainClass; lib.a.Something; // Here I need the optional utility object lib.b

How to start/stop a monitoring Delphi thread on demand?

人走茶凉 提交于 2019-12-18 13:48:20
问题 I've been looking for a way to monitor for specific registry changes in Delphi. Found a solution at about.com: procedure TRegMonitorThread.Execute; begin InitThread; // method omitted here while not Terminated do begin if WaitForSingleObject(FEvent, INFINITE) = WAIT_OBJECT_0 then begin fChangeData.RootKey := RootKey; fChangeData.Key := Key; SendMessage(Wnd, WM_REGCHANGE, RootKey, LongInt(PChar(Key))); ResetEvent(FEvent); RegNotifyChangeKeyValue(FReg.CurrentKey, 1, Filter, FEvent, 1); end; end

How do I remote debug an on demand web job deployed with a web app in azure app service?

删除回忆录丶 提交于 2019-12-13 00:13:51
问题 According to this msdn link quoting Remote debugging only works with continuous WebJobs. Scheduled and on-demand WebJobs don't support debugging. Is there a way to remote debug azure on demand webjob? I have VS 2017 Community. I've tried attach to process to my website but as soon as my web job is called from my site. I loose debugging in VS. Please help. 回答1: On-demand WebJobs (aka Triggered) only run when they are invoked (whether manually or on timer). So there is no running process to

How to make TableSorter.js working with the table on demad via some JS and inc.php file

与世无争的帅哥 提交于 2019-12-11 12:07:39
问题 I have a table that I want to make sortable. The problem is that this table has been loaded from the external file (inc.php) via some JS (filter-data.js) function. To be more precisely, I have a main.php page with the Submit button. When I click on it, that triggers some JS code which calls inc.php file to populate my table with its data on demand from MySQL base and then puts them both (table + data) back to the main page: This is the table placeholder on the main page. <div id="tableData"><

On-demand require()

守給你的承諾、 提交于 2019-12-02 02:18:32
Say I create a library in ./libname which contains one main file: main.js and multiple optional library files which are occasionally used with the main object: a.js and b.js . I create index.js file with the following: exports.MainClass = require('main.js').MainClass; // shortcut exports.a = require('a'); exports.b = require('b'); And now I can use the library as follows: var lib = require('./libname'); lib.MainClass; lib.a.Something; // Here I need the optional utility object lib.b.SomeOtherThing; However, that means, I load 'a.js' and 'b.js' always and not when I really need them. Sure I can

SSRS 2008 R2 Drill Down On-Demand to Sub Report

此生再无相见时 提交于 2019-12-01 19:34:47
问题 In SSRS 2008 R2, I was under the impression that a drill down to a sub-report would query the data on-demand. This isn't the case when my report gets rendered. Specifically, I have a Tablix that initially loads rows grouped by Person. When someone clicks the drilldown icon on that Person, a subreport displays some more data pertinent to that Person. The problem here is that every subreport is being loaded initially when the main report is being rendered. This takes forever to load. But if I

How to start/stop a monitoring Delphi thread on demand?

ぃ、小莉子 提交于 2019-11-30 10:36:55
I've been looking for a way to monitor for specific registry changes in Delphi. Found a solution at about.com: procedure TRegMonitorThread.Execute; begin InitThread; // method omitted here while not Terminated do begin if WaitForSingleObject(FEvent, INFINITE) = WAIT_OBJECT_0 then begin fChangeData.RootKey := RootKey; fChangeData.Key := Key; SendMessage(Wnd, WM_REGCHANGE, RootKey, LongInt(PChar(Key))); ResetEvent(FEvent); RegNotifyChangeKeyValue(FReg.CurrentKey, 1, Filter, FEvent, 1); end; end; end; In my application I will need to start and stop this thread on demand, but the above code does

How to load Google's Custom-search-engine(CSE) JS APIs after page loads?

丶灬走出姿态 提交于 2019-11-29 08:05:29
I am using Google Custom Search Engine with their new auto-completion feature. I want this whole javascript to be loaded AFTER the page itself is loaded. The original Google code is this: <script type="text/javascript" src="http://www.google.com/jsapi"></script> <script type="text/javascript"> google.load('search', '1'); google.setOnLoadCallback(function() { google.search.CustomSearchControl.attachAutoCompletion( 'some-long-unique-id', document.getElementById('q'), 'cse-search-box'); }); </script> <script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&lang=cs">