Posts

In salesforce, can you verify that an email sent by a workflow was opened by the recipient? -

i using salesforce workflow send out product information , invoices clients running problems thinking of how verify if client receives email , or opens it. there way prove client received inventory list or invoice? doing prior research on subject have come across following suggestions: adding 1x1 invisible image email unique id adding regular image instead of 1x1, maybe company logo having recipient click link see invoice with these solutions, have detect image requests or link request them , extract/produce unique id each client. not sure how in salesforce appreciated, along other detection ideas. if have salesforce content, there ways expose documents clients features need. you'll send email link , later can track confirmation of opening, count how many times downloaded.. can set expiration date document (can't downloaded anymore after date). as "pure" email apex/visualforce , manually recreating content's functionality... nowadays mail cl...

javascript - Protect jQuery function from outside access -

i'm using jquery in app registers user clicks perform given action through .click() binding, , want functionality available only through user mousedown. 1 of friends pointed out today it's possible run $(element).click() javascript terminal in firebug (or similar), , achieve same functionality clicking on element -- i'd prevent. ideas on how go doing this? input. short answer: no, can't prevent it. long answer: event click event bound such called event handlers . handlers functions executed when given event occurs. if click on element, browser checks if event handlers bound it, if fires them. if not, browser try bubble up event parent elements , again checks if there event handlers bound kind of event .. , forth. jquerys .trigger() method (which call if calling .click() instance) same thing. calls event handlers bound specific element, specific event. edit there might simple ways somekind of soft detect real click, instance might check...

c# - Help Understanding .Net Configuration Options -

i'm confused various configuration options .net configuration of dll's, asp.net websites etc in .net v2 - when considering impact of config file @ ui / end-user end of chain. so, example, of applications work use settings access with: string blah = applib.properties.settings.default.templatepath; now, option seems cool because members stongly typed, , won't able type in property name doesn't exist in visual studio 2005 ide. end lines in app.config of command-line executable project: <connectionstrings> <add name="appconnectionstring" connectionstring="xxxx" /> <add name="applib.properties.settings.appconnectionstring" connectionstring="xxxx" /> </connectionstrings> (if don't have second setting, releasing debug dll live box have built debug connection string embedded in - eek) we have settings accessed this: string blah = system.configuration.configurationmanager.appset...

c# - Is it possible to let linq to sql auto submit my new records back to database? -

i using linq sql , , return queryable result linq sql : var qry = p in table select p; then use bind xtragrid: gridcontrol.datasource = qry; then if edit records in xtragrid, need call datacontext.submitchanges() submit changes database. my question : am possible add new records qry result, , after need call datacontext.submitchanges() , linq can create new records on database automatically ? is possible ? can point me right direction ? in advance ! shot answer no. need call add method on table property on context. something this: var qry = p in mydatacontext.table select p; gridcontrol.datasource = qry; mydatacontext.table.add(newrecord); // how add new recrod datacontext.submitchanges(); read more here: http://weblogs.asp.net/scottgu/archive/2007/05/19/using-linq-to-sql-part-1.aspx

deployment - Managing software with custom local patches -

i'm trying find way deploy software custom patches in production. base software opensource own repos (svn) , we've got patches select 1 service , not other (so we've got base+patcha+patchb on 1 server , base+patcha+patchc on another). everything deployed packages, pretty simple. issue i'm thinking is: how store modifications? these ways thought about: i've tried using quilt / patch series + downloading specific revision upstream when building. works well, until need port patches new version. since quilt needs copy of tree patch modifications, takes long time fix stuff. also, having different versions deployed on different servers means need have different build-scripts. i clone repository local git/hg , create branch local modifications. that's great porting patches forwards , can make local release tags on branch, unfortunately lose information separate patches. can see diff upstream of course, lose clear separation of different local modifications. ...

php - Allow users to download PDFs in PHP5, ZEND, MVC environment -

all, i have php5 application written zend framework , mvc style. application allows multiple users login , see content based on privileges. have dropdown on home page. upon selecting dropdown, ajax call occurs populates page table. also, generates pdf file table data using mpdf library. there link called "download pdf" in page allow user download generated pdf. my question is, in such environment, how best serve pdfs multiple users? should serve single pdf common name or should create multple pdfs based on dropdown value (looks overkill)? don't want let users see each other's pdfs. also, should store pdfs pretty entire application directory have 750 acccess. thanks, user clicks "downlod pdf" parameters id sent ajax is there cached version of pdf id saved? ok, show user; else: generate pdf cache it show pdf user i have cache key userid-documentid (user1-document1 example) , name document make them recognize in "downloads fo...

wpf - Is it possible to re-show and closed dialog window? -

some context here...i have system.windows.window used display modal message box. created show() method initializes content of window, , calls showdialog(). user clicks button on window, information clicked button set in tag property, , window closed via close(). as expected, showdialog exception when attempting call showdialog() on window once has been closed. there way reuse same window instance don't have new instance every time need message box? for example... messageboxwindow mbw = new messageboxwindow(); result = mbw.show("caption", "message 1"); mbw.show("caption", "message 2"); // above throws exception, have this... mbw = new messageboxwindow(); result = mbw.show("caption", "message 2"); any appreciated! use .hide() instead of .close(). removes without destroying it. can call show() again when needed. mainwindow test = new mainwindow(); test.show(); test.hide(); test.show();