<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged efficy-2102</title>
<link>https://overflow.efficy.io/?qa=tag/efficy-2102</link>
<description>Powered by Question2Answer</description>
<item>
<title>Error when making rest calls on https</title>
<link>https://overflow.efficy.io/?qa=2135/error-when-making-rest-calls-on-https</link>
<description>&lt;p&gt;Hello everyone, &lt;/p&gt;

&lt;p&gt;For one of my customer (Ingenico) I have to communicate with another api using rest call (Method; POST) to synchronise Efficy's tickets/actions. &lt;/p&gt;

&lt;p&gt;During my first tests, I encountered some errors due to the invalid certificate (It's expired since 2015). &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;First version:&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;//@Author: PPT: Create HTTP request
function createRequest() {

  return new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
}

function SendCaseToJira(k_case){

                var url = Database.GetSysStorageValue('Jira_ApiUrl') + &quot;update/case/&quot; + k_case;
                var req = createRequest();
                try{         
                                var ret;
                                var OnSuccessFunction = function (args2, _html) {ret=_html;}                                    
                                req.onreadystatechange = function() {
                                  if (req.readyState == 4 &amp;amp;&amp;amp; req.status == 200) {
                                                OnSuccessFunction(&quot;&quot;,req.responseText);
                                  }else
                                                  ret = &quot;not working&quot;;
                                };
                                req.open(&quot;POST&quot;, url, false);
                                req.send();

                                Logger.Write(ret);
                }catch(e){
                                Logger.Write(&quot;Error when notifying Jira: &quot; + e.message);
                }

}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Here is the error message that I was getting: &lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Error when notifying Jira: Security certificate required to access&lt;br&gt;
  this resource is invalid.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Then I found that I could disable certificate check by modifying my code: &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Second version:&lt;/strong&gt; &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;//@Author: PPT: Create HTTP request
function createRequest() {

  // return new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  return new ActiveXObject(&quot;Msxml2.ServerXMLHTTP.3.0&quot;);
}

function SendCaseToJira(k_case){

                var url = Database.GetSysStorageValue('Jira_ApiUrl') + &quot;update/case/&quot; + k_case;
                //var url = Database.GetSysStorageValue('Jira_ApiUrl') + &quot;update/&quot;;
                var req = createRequest();
                //Disable the certificat check
                req.setOption(2, 13056);
                try{         
                                var ret;
                                var OnSuccessFunction = function (args2, _html) {ret=_html;}                                    
                                req.onreadystatechange = function() {
                                  if (req.readyState == 4 &amp;amp;&amp;amp; req.status == 200) {
                                                OnSuccessFunction(&quot;&quot;,req.responseText);
                                  }else
                                                  ret = &quot;not working&quot;;
                                };
                                req.open(&quot;POST&quot;, url, false);
                                req.send();

                                Logger.Write(ret);
                                //Logger.Write(&quot;Success notifying Jira: &quot; + response);
                }catch(e){
                                Logger.Write(&quot;Error when notifying Jira: &quot; + e.message);
                }

}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;And now I'm getting the following error: &lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Error when notifying Jira: An error occurred in the secure channel&lt;br&gt;
  support&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Have someone ever had that kind of problem? Can someone help me on how to generate rest call over https using javascript serverside? &lt;/p&gt;

&lt;p&gt;Thanks in advance. &lt;/p&gt;

&lt;p&gt;KR, &lt;/p&gt;

&lt;p&gt;Prince.&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2135/error-when-making-rest-calls-on-https</guid>
<pubDate>Wed, 21 Dec 2016 12:31:30 +0000</pubDate>
</item>
<item>
<title>2012 - link contacts to publication via query - limit 500</title>
<link>https://overflow.efficy.io/?qa=1540/2012-link-contacts-to-publication-via-query-limit-500</link>
<description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;in the query result efficy returns only 500 records per default. So if I use a query with 600 results the last 100 contacts are not shown in the list.&lt;/p&gt;

&lt;p&gt;Overriding this default settings by adding the attribute MaxGridRows=800 to the GetQueryResultGrid in QueryResult.htm didn't work with 2012, though this works well for 2014.&lt;/p&gt;

&lt;h2&gt;&amp;lt;%GetQueryResultGrid(templategen=&quot;GridQueryResult.htm&quot;, MaxGridRows=800)%&amp;gt;&lt;/h2&gt;

&lt;p&gt;How can this be solved with 2012?&lt;/p&gt;

&lt;p&gt;Thanks&lt;br&gt;
Andreas&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1540/2012-link-contacts-to-publication-via-query-limit-500</guid>
<pubDate>Thu, 21 Apr 2016 12:26:08 +0000</pubDate>
</item>
<item>
<title>Efficy 2012: Send screenshot</title>
<link>https://overflow.efficy.io/?qa=969/efficy-2012-send-screenshot</link>
<description>&lt;p&gt;Dear,&lt;/p&gt;

&lt;p&gt;I need to change the email address behind the button 'send screenshot' on an error page.&lt;br&gt;
Does anyone know where I can find it.&lt;/p&gt;

&lt;p&gt;I need to know this for Efficy 2012 Summer.&lt;/p&gt;

&lt;p&gt;kr&lt;br&gt;
Erwin Vogeleer&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=969/efficy-2012-send-screenshot</guid>
<pubDate>Fri, 27 Nov 2015 15:17:06 +0000</pubDate>
</item>
<item>
<title>Version 2012 - Add contacts to a publication and to the actions link</title>
<link>https://overflow.efficy.io/?qa=717/version-2012-add-contacts-publication-and-the-actions-link</link>
<description>&lt;p&gt;When I add contacts to a publication, these contacts are to be added to the actions link to this publication.&lt;/p&gt;

&lt;p&gt;I did a workflow.&lt;/p&gt;

&lt;p&gt;To add contacts to the publication there are 4 possibilities:&lt;/p&gt;

&lt;p&gt;1)  Add using Search      =&amp;gt; I use &quot;BeforeCommitPublCont&quot; and       &quot;BeforeCommitContPubl&quot;  &lt;br&gt;
2)  Add using Query       =&amp;gt; I use    &quot;OnBeforeAddLinkPublCont&quot; and &quot;OnBeforeAddLinkContPubl&quot;&lt;/p&gt;

&lt;p&gt;3)   Add using a Profile            &lt;strong&gt;=&amp;gt; What is to be used ?&lt;/strong&gt;  &lt;br&gt;
4)   Add using a Publication     &lt;strong&gt;=&amp;gt; What is to be used ?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Thank you&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=717/version-2012-add-contacts-publication-and-the-actions-link</guid>
<pubDate>Mon, 07 Sep 2015 13:49:19 +0000</pubDate>
</item>
<item>
<title>max login attempts for efficy 2012</title>
<link>https://overflow.efficy.io/?qa=623/max-login-attempts-for-efficy-2012</link>
<description>&lt;p&gt;Hi All,&lt;/p&gt;

&lt;p&gt;I got a customer request to implement a 3 max login attempt for Efficy 2012.&lt;/p&gt;

&lt;p&gt;We cannot upgrade to Efficy 2014. &lt;br&gt;
Is it possible to use the Efficy 2014 max login attempt functionality as a customisation on Efficy 2012?&lt;/p&gt;

&lt;p&gt;kind regards,&lt;br&gt;
Mark&lt;/p&gt;
</description>
<category>Efficy Designer (Conficy)</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=623/max-login-attempts-for-efficy-2012</guid>
<pubDate>Mon, 10 Aug 2015 12:08:34 +0000</pubDate>
</item>
<item>
<title>EFFICY 2012 Summer - How can I create a formatted memo in a category</title>
<link>https://overflow.efficy.io/?qa=594/efficy-2012-summer-how-can-create-formatted-memo-in-category</link>
<description>&lt;p&gt;Hi,&lt;br&gt;
I have create a memo field in a category but the customer need to enter formatted data in it.&lt;br&gt;
How can this be done in Efficy 2012 summer?&lt;br&gt;
Thanks and regards&lt;br&gt;
Anne&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=594/efficy-2012-summer-how-can-create-formatted-memo-in-category</guid>
<pubDate>Thu, 30 Jul 2015 15:01:22 +0000</pubDate>
</item>
</channel>
</rss>