Hello Al<br>I have done all this thing , and its not working when <br>New Leads added from Webform submission .<br><br>But when i added Leads from vtiger UI its working .<br>My question is how to tigger workflow ?<br><br>Thanks for reply <br>
<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Message: 3<br>
Date: Fri, 08 Feb 2013 08:51:07 +0000<br>
From: Alan Lord &lt;<a href="mailto:alanslists@gmail.com">alanslists@gmail.com</a>&gt;<br>
Subject: Re: [Vtigercrm-developers] Triggering workflow on submission<br>
        of a    webform.<br>
To: <a href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a><br>
Message-ID: &lt;kf2e9n$dl9$<a href="mailto:1@ger.gmane.org">1@ger.gmane.org</a>&gt;<br>
Content-Type: text/plain; charset=windows-1252; format=flowed<br>
<br>
This is totally easy and requires zero programming...<br>
<br>
What module entity are you creating when the Form is submitted? (I&#39;m<br>
guessing Leads).<br>
<br>
Create a Workflow on the Lead module for &quot;Only on 1st save&quot; or &quot;Until a<br>
condition is 1st true&quot; . Create any conditions you need. Then Create<br>
your email task.<br>
<br>
<br>
Al<br>
<br>
<br>
<br>
On 08/02/13 08:23, Prosenjit Sarkar wrote:<br>
&gt; Hi there,<br>
&gt;<br>
&gt; I have a question regarding triggering workflow on submission of a webform.<br>
&gt;<br>
&gt; Firstly, it?s very common in many systems to send notification emails to<br>
&gt; either an admin, the subscriber or both.<br>
&gt;<br>
&gt; Obviously as vtiger is setup right now, webform submission does not<br>
&gt; trigger a workflow event.<br>
&gt;<br>
&gt; We?ve tried using $Instance-&gt;save(?ModuleName?) but that didn?t work either.<br>
&gt;<br>
&gt; I have two questions:<br>
&gt;<br>
&gt; 1.Are there any security issue if we used $Instance-&gt;save(?ModuleName?)<br>
&gt;<br>
&gt; 2.Has anyone done this before? If so what method did you use?<br>
&gt;<br>
&gt; Looking forward to your feedback.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Regards<br>
&gt; Prosenjit Sarkar<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
&gt;<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Fri, 8 Feb 2013 14:38:55 +0530<br>
From: salim &lt;<a href="mailto:salimcmd@gmail.com">salimcmd@gmail.com</a>&gt;<br>
Subject: Re: [Vtigercrm-developers] New Block<br>
To: <a href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a><br>
Message-ID:<br>
        &lt;CADQpn1buKd1D206-_mqQqbzhyBf1sAayaiGoLj2cy0wHPbyH=<a href="mailto:g@mail.gmail.com">g@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Thanks man. :)<br>
<br>
<br>
On 7 February 2013 20:10, Adam Heinz &lt;<a href="mailto:amh@metricwise.net">amh@metricwise.net</a>&gt; wrote:<br>
<br>
&gt; Check out creating a Vtiger_Link of type HEADERSCRIPT.  Unfortunately,<br>
&gt; that will add the javascript to all pages, but the only other option I can<br>
&gt; think of is to edit the Potentials.js script directly.<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Feb 7, 2013 at 12:35 AM, salim &lt;<a href="mailto:salim@posibolt.com">salim@posibolt.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Hi All,<br>
&gt;&gt;<br>
&gt;&gt;    I need to add a new block called *&quot;Expected Sales of Products&quot;  *in Potentials<br>
&gt;&gt; module, A block like as we have in invoice Module called *&quot;Item Details&quot;*,<br>
&gt;&gt; I can add blocks and fields using vtlib API in existing module. But in this<br>
&gt;&gt; case we need to add JavaScript and all. So i am bit confused.<br>
&gt;&gt; It would be great if  someone can point me That where should i have to<br>
&gt;&gt; look at?.<br>
&gt;&gt;<br>
&gt;&gt; Thanks<br>
&gt;&gt; --<br>
&gt;&gt; Salim<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
Muhammed Abdul Salim<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130208/be53ad0a/attachment-0001.html" target="_blank">http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130208/be53ad0a/attachment-0001.html</a><br>

<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Fri, 08 Feb 2013 12:30:32 +0000<br>
From: Alan Lord &lt;<a href="mailto:alanslists@gmail.com">alanslists@gmail.com</a>&gt;<br>
Subject: [Vtigercrm-developers] Related related List?<br>
To: <a href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a><br>
Message-ID: &lt;kf2r54$45q$<a href="mailto:1@ger.gmane.org">1@ger.gmane.org</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Before I reinvent the wheel,<br>
<br>
Anyone had to do a related related list?<br>
<br>
I want to show, on an Organisation record, a related list (vtlib module)<br>
that is related to the related Contact(s).<br>
<br>
Cheers<br>
<br>
Al<br>
<br>
--<br>
Libertus Solutions<br>
<a href="http://libertus.co.uk" target="_blank">http://libertus.co.uk</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Fri, 8 Feb 2013 08:38:52 -0500<br>
From: Adam Heinz &lt;<a href="mailto:amh@metricwise.net">amh@metricwise.net</a>&gt;<br>
Subject: Re: [Vtigercrm-developers] Related related List?<br>
To: <a href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a><br>
Message-ID:<br>
        &lt;CAKBdvM974fsRT4BcEzAKuONuxFdnBOq3Lbqt=<a href="mailto:w_NvmUDfOrwBQ@mail.gmail.com">w_NvmUDfOrwBQ@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
When you use vtlib to set up a related list, you can specify a custom<br>
method instead of get_related_list, so you can write custom SQL there.<br>
<br>
<br>
On Fri, Feb 8, 2013 at 7:30 AM, Alan Lord &lt;<a href="mailto:alanslists@gmail.com">alanslists@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Before I reinvent the wheel,<br>
&gt;<br>
&gt; Anyone had to do a related related list?<br>
&gt;<br>
&gt; I want to show, on an Organisation record, a related list (vtlib module)<br>
&gt; that is related to the related Contact(s).<br>
&gt;<br>
&gt; Cheers<br>
&gt;<br>
&gt; Al<br>
&gt;<br>
&gt; --<br>
&gt; Libertus Solutions<br>
&gt; <a href="http://libertus.co.uk" target="_blank">http://libertus.co.uk</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130208/41dc9652/attachment-0001.html" target="_blank">http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130208/41dc9652/attachment-0001.html</a><br>

<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Fri, 08 Feb 2013 08:43:44 -0500<br>
From: Yoinier Hernandez Nieves &lt;<a href="mailto:ynieves@ynieves.net">ynieves@ynieves.net</a>&gt;<br>
Subject: [Vtigercrm-developers] Hi,     about insert product picture in<br>
        quote PDF.<br>
To: <a href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a><br>
Message-ID: &lt;<a href="mailto:51150110.6090209@ynieves.net">51150110.6090209@ynieves.net</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Hi, I need insert the picture of all product in the quote at the<br>
description section, in the pdf export for Quote.<br>
In the file include/InventoryPDFController.php I have modified the<br>
function buildFooterModel and I can add a product name to this section,<br>
but I need insert the picture.<br>
<br>
I have a picture as CRMEntity attached.<br>
<br>
How I can load the attach for the product???<br>
<br>
Thanks.<br>
<br>
function buildFooterModel() {<br>
     $footerModel = new Vtiger_PDF_Model();<br>
     $associated_products = $this-&gt;associated_products;<br>
     $data = &#39;&#39;;<br>
     foreach($associated_products as $productLineItem) {<br>
         ++$productLineItemIndex;<br>
         $data .=<br>
&quot;&lt;&quot;.$productLineItem[&quot;productName{$productLineItemIndex}&quot;].&quot;&gt;&quot;;<br>
     }<br>
<br>
$footerModel-&gt;set(Vtiger_PDF_InventoryFooterViewer::$DESCRIPTION_DATA_KEY,<br>
from_html($this-&gt;focusColumnValue(&#39;description&#39;). $data));<br>
<br>
$footerModel-&gt;set(Vtiger_PDF_InventoryFooterViewer::$TERMSANDCONDITION_DATA_KEY,<br>
from_html($this-&gt;focusColumnValue(&#39;terms_conditions&#39;)));<br>
     return $footerModel;<br>
}<br>
<br>
Best Regards.<br>
<br>
Ynieves-<br>
--<br>
_____.___.      .__<br>
\__  |   | ____ |__| _______  __ ____   ______<br>
  /   |   |/    \|  |/ __ \  \/ // __ \ /  ___/<br>
  \____   |   |  \  \  ___/\   /\  ___/ \___ \<br>
  / ______|___|  /__|\___  &gt;\_/  \___  &gt;____  &gt;<br>
  \/           \/        \/          \/     \/<br>
     .___      __   _______          __<br>
   __| _/_____/  |_ \      \   _____/  |_<br>
  / __ |/  _ \   __\/   |   \_/ __ \   __\<br>
/ /_/ (  &lt;_&gt; )  | /    |    \  ___/|  |<br>
\____ |\____/|__| \____|__  /\___  &gt;__|<br>
      \/                   \/     \/<br>
<br>
<br>
------------------------------<br>
<br>
Message: 8<br>
Date: Sat, 9 Feb 2013 00:41:57 +0530<br>
From: Sreenivas Kanumuru &lt;<a href="mailto:svk@vtiger.com">svk@vtiger.com</a>&gt;<br>
Subject: Re: [Vtigercrm-developers] list view context menu<br>
To: &quot;<a href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a>&quot;<br>
        &lt;<a href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:CA%2BzQwCJuQcFZKuxa9XcyPVvtL-otD0qh9DFmcpJLZbrHXRaRCQ@mail.gmail.com">CA+zQwCJuQcFZKuxa9XcyPVvtL-otD0qh9DFmcpJLZbrHXRaRCQ@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Adam,<br>
<br>
We can certainly tweak vtiger6 UI if it helps. We&#39;ll await your screenshots<br>
to get a better idea of the proposed change.<br>
<br>
thanks,<br>
Sreenivas<br>
<br>
<br>
<br>
--<br>
Sreenivas Kanumuru<br>
vtiger Team<br>
<br>
Direct: +91 96323-55656<br>
Skype: skanumuru<br>
<br>
*Connect with us on: *Twitter &lt;<a href="http://twitter.com/#%21/vtigercrm" target="_blank">http://twitter.com/#%21/vtigercrm</a>&gt; *I*<br>
Facebook &lt;<a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" target="_blank">http://www.facebook.com/pages/vtiger/226866697333578?sk=wall</a>&gt; *I*<br>
Blog &lt;<a href="http://blog.vtiger.com/" target="_blank">http://blog.vtiger.com/</a>&gt;* I*<br>
Wiki&lt;<a href="http://wiki.vtiger.com/index.php/Main_Page" target="_blank">http://wiki.vtiger.com/index.php/Main_Page</a>&gt;<br>
 *I *Forums  &lt;<a href="http://forums.vtiger.com/" target="_blank">http://forums.vtiger.com/</a>&gt;*I* Website &lt;<a href="http://vtiger.com/" target="_blank">http://vtiger.com/</a>&gt;<br>
<br>
<br>
On Fri, Feb 8, 2013 at 3:18 AM, Adam Heinz &lt;<a href="mailto:amh@metricwise.net">amh@metricwise.net</a>&gt; wrote:<br>
<br>
&gt; I am working on a prototype replacement for the list view action column.<br>
&gt; We have never found it very useful as our users prefer the detail view ajax<br>
&gt; edit for the bulk of their changes and generally don&#39;t have delete<br>
&gt; permissions; which are the only two actions ever listed [1].  I&#39;ve reviewed<br>
&gt; vt6 and the mouse over behavior is no better; we&#39;re stuck with the same<br>
&gt; basic actions for every record.<br>
&gt;<br>
&gt; The Vtiger_Link class has enabled us to remove custom code and replace it<br>
&gt; with data, bringing our fork more in line with stock vtigercrm.  One thing<br>
&gt; that I&#39;ve started to notice is that our context menu entries often overlap<br>
&gt; our detail view actions, the main difference being that our context menus<br>
&gt; are custom code, whereas the detail view actions are Vtiger_Links.  The<br>
&gt; obvious next step is to generate context menus from Vtiger_Links!  The<br>
&gt; handler parameter gives me a ton of control over which links are shown when<br>
&gt; I generate the context menu, which I am doing via a simple<br>
&gt; action=ModuleAjax&amp;file=ContextMenu request.  This lazy evaluation prevents<br>
&gt; list view load times from being unwieldy, without sacrificing flexibility.<br>
&gt;<br>
&gt; Anyway, I&#39;ll have a patch up before too long (and maybe some screenshots),<br>
&gt; but I really wanted to throw this out before the mouse over behavior in vt6<br>
&gt; is set in stone.  We&#39;re finally starting to deploy 5.4.0 to our users, so I<br>
&gt; am only now beginning to look at vt6.  Though I generally like the crisp<br>
&gt; new look, it takes several steps backwards in terms of user interface.<br>
&gt;  I&#39;ll start a new thread tomorrow enumerating my usability concerns.<br>
&gt;<br>
&gt; [1]<br>
&gt; <a href="http://trac.vtiger.com/cgi-bin/trac.cgi/browser/vtigercrm/branches/5.4.0/include/utils/ListViewUtils.php#L970" target="_blank">http://trac.vtiger.com/cgi-bin/trac.cgi/browser/vtigercrm/branches/5.4.0/include/utils/ListViewUtils.php#L970</a><br>

&gt;<br>
&gt; _______________________________________________<br>
&gt; <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130209/8d6e05a5/attachment.html" target="_blank">http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130209/8d6e05a5/attachment.html</a><br>

<br>
------------------------------<br>
<br>
_______________________________________________<br>
vtigercrm-developers mailing list<br>
<a href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a><br>
<a href="http://lists.vtigercrm.com/mailman/listinfo/vtigercrm-developers" target="_blank">http://lists.vtigercrm.com/mailman/listinfo/vtigercrm-developers</a><br>
<br>
<br>
End of vtigercrm-developers Digest, Vol 85, Issue 17<br>
****************************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>Best Regards <br>Prosenjit Sarkar<br>+91-9830013567