<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged tools</title>
<link>https://overflow.efficy.io/?qa=tag/tools</link>
<description>Powered by Question2Answer</description>
<item>
<title>Tool to convert security values to explaination and vice versa</title>
<link>https://overflow.efficy.io/?qa=3468/tool-to-convert-security-values-explaination-and-vice-versa</link>
<description>&lt;p&gt;Hi guys i ve made a really small tool to quickly see what rights are allowed with a security value and which is the security value I need to add for a specific set of rights. &lt;/p&gt;

&lt;p&gt;find the fiddleJs here : &lt;a rel=&quot;nofollow&quot; href=&quot;https://jsfiddle.net/LouisMoisyChapel/eg4rqyt8/&quot;&gt;https://jsfiddle.net/LouisMoisyChapel/eg4rqyt8/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;this is how it works :&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=8741066940000004905&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;you can obviously set the wanted checkboxes to see the value &lt;br&gt;
Or you can set a value and see the checkboxes result.&lt;/p&gt;

&lt;p&gt;this is the full code (add it in a dialog &quot;.htm&quot; page and run it from efficy with a url like : &lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://yourcrmserver/11.0/crm/dialog?page=dialog/securityConverter.htm&quot;&gt;https://yourcrmserver/11.0/crm/dialog?page=dialog/securityConverter.htm&lt;/a&gt;&lt;br&gt;
)&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;%SetBookmark()%&amp;gt;
&amp;lt;%LoadMacros('MacroLibrary;MacroDialog')%&amp;gt;
&amp;lt;%Macro('Doctype')%&amp;gt;
&amp;lt;html lang=&quot;&amp;lt;%GetLanguage(lowercase=T)%&amp;gt;&quot; dir=&quot;&amp;lt;%OnLanguage(ar='rtl', else='ltr')%&amp;gt;&quot;&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt; Manage Chart&amp;lt;/title&amp;gt;
&amp;lt;%Macro('MetaHead')%&amp;gt;
&amp;lt;%UseStyleSheet(page='%%OnLanguage(ar=&quot;efficy-rtl&quot;, else=&quot;efficy&quot;)')%&amp;gt;
&amp;lt;%UseScript('../lib/js/vendor/modernizr.js', fixedline=T, fixedpath=T)%&amp;gt;
&amp;lt;style type=&quot;text/css&quot;&amp;gt;
#rightselector {
border: 1px #bbb solid;
padding: 1rem;
}

#rightselector li{
list-style: none;
}

#rightselector li span{
margin-left: 1rem;
vertical-align: top;
}

.NL_switch {
position: relative;
display: inline-block;
width: 40px;
height: 24px;
}

.NL_switch input {
display: none;
}

.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
}

.slider:before {
position: absolute;
content: &quot;&quot;;
height: 18px;
width: 18px;
left: 2px;
bottom: 3px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}

input:checked + .slider {
background-color: #368a55;
}

input:focus + .slider {
box-shadow: 0 0 1px #368a55;
}

input:checked + .slider:before {
-webkit-transform: translateX(18px);
-ms-transform: translateX(18px);
transform: translateX(18px);
}

/* Rounded sliders */
.slider.round {
border-radius: 20px;
}

.slider.round:before {
border-radius: 50%;
}

&amp;lt;/style&amp;gt;
&amp;lt;script&amp;gt;
var securityValue = 0;
var rights = [
{value: 1, label: &quot;Search&quot;},
{value: 2, label: &quot;Read&quot;},
{value: 4, label: &quot;Write&quot;},
{value: 8, label: &quot;Delete&quot;},
{value: 16, label: &quot;Show content&quot;},
{value: 32, label: &quot;Add content&quot;},
{value: 64, label: &quot;Update content&quot;},
{value: 128, label: &quot;Delete content&quot;},
{value: 256, label: &quot;Secure&quot;},
{value: 512, label: &quot;Secure content&quot;},
{value: 2048, label: &quot;No content&quot;}
];

/**
* Load modules for widgets
**/
function Loaded(){

requirejs([
&quot;jquery&quot;
], function($){
__debug = true;

$.each(rights, function(_index, _item){
$(&quot;#rightselector&quot;).append(&quot;&amp;lt;li&amp;gt;&amp;lt;label class='NL_switch'&amp;gt;&amp;lt;input type='checkbox' id='right_&quot; + _item.value + 
&quot;' onclick='javascript:setSecurityValue();' class='item-checkbox'&amp;gt;&amp;lt;/input&amp;gt;&amp;lt;div class='slider round'&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/label&amp;gt;&quot; + 
&quot;&amp;lt;span style='margin-bottom: 5px'&amp;gt;&quot; + _item.label + &quot;&amp;lt;/span&amp;gt;&amp;lt;/li&amp;gt;&quot;)

});

});

console.log(&quot;Page loaded&quot;);
}

function setSecurityValue(){
securityValue = 0;
$.each(rights, function(_index, _item){
if ($(&quot;#right_&quot; + _item.value).is(&quot;:checked&quot;)) securityValue += _item.value;
});
$(&quot;#securityvalue&quot;).val(securityValue);
}

function setRights(){
securityValue = Number($(&quot;#securityvalue&quot;).val());
$.each(rights, function(_index, _item){
var temp = _item.value &amp;amp; securityValue;
if (temp === _item.value) $(&quot;#right_&quot; + _item.value).prop(&quot;checked&quot;, true);
else $(&quot;#right_&quot; + _item.value).prop(&quot;checked&quot;, false);
});
}

&amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body onload=&quot;Loaded()&quot; data-keep-size&amp;gt;
&amp;lt;div class=&quot;row dialog-wrapper&quot; data-channel=&quot;dialog/main&quot;&amp;gt;
&amp;lt;div class=&quot;small-12 columns button-group toolbar&quot;&amp;gt;
&amp;lt;h3 class=&quot;section-title&quot;&amp;gt;
&amp;lt;%GetLabel('Security converter')%&amp;gt;
&amp;lt;/h3&amp;gt;
&amp;lt;/div&amp;gt;

&amp;lt;div class=&quot;row small-12 medium-6 large-4 columns left&quot;&amp;gt;
&amp;lt;ul id=&quot;rightselector&quot;&amp;gt;

&amp;lt;/ul&amp;gt;
&amp;lt;label style=&quot;margin-left: 1.1rem;&quot;&amp;gt;Security value
&amp;lt;input type=number width=&quot;100%&quot; id=&quot;securityvalue&quot; onchange=&quot;setRights()&quot;/&amp;gt;
&amp;lt;/label&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;

&amp;lt;!--&amp;lt;/body&amp;gt;--&amp;gt;

&amp;lt;%Macro('DialogScriptsRequire')%&amp;gt;
&amp;lt;%UseScript('../../lib/js/jquery/jquery', fixedline=T)%&amp;gt;
&amp;lt;%UseScript('../../lib/js/fnd/foundation', fixedline=T)%&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;It should be enough to make it work (tell me if not)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It would be definitly cooler if Efficy could add it on Edn.&lt;/strong&gt;&lt;br&gt;
best regards&lt;/p&gt;
</description>
<category>Efficy Partners</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3468/tool-to-convert-security-values-explaination-and-vice-versa</guid>
<pubDate>Tue, 14 Aug 2018 08:49:33 +0000</pubDate>
</item>
<item>
<title>DB Staging  tool - Error: &quot;Unexpected DataType: ftUnknown&quot;</title>
<link>https://overflow.efficy.io/?qa=2003/db-staging-tool-error-unexpected-datatype-ftunknown</link>
<description>&lt;p&gt;Hello Everyone! &lt;/p&gt;

&lt;p&gt;I'm trying to generate a &quot;upgrade&quot; script with db Staging tool and I have a problem: &lt;br&gt;
I generated the the two dump files with success, then when I try to Generate de script I got an error message saying : &quot;Unexpected DataType: ftUnknown&quot; (see pic).&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=12962524136140730118&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;Have someone had that error before? &lt;br&gt;
Do someone knows where it could come from? &lt;/p&gt;

&lt;p&gt;PS: I'm executing the Efficy 2014's DB Staging tool on an Efficy 2012 version.&lt;/p&gt;

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

&lt;p&gt;Prince&lt;/p&gt;
</description>
<category>Efficy Installation/Settings</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2003/db-staging-tool-error-unexpected-datatype-ftunknown</guid>
<pubDate>Tue, 15 Nov 2016 12:59:06 +0000</pubDate>
</item>
<item>
<title>How to apply the modification done on a Development Database to a production Database (Upgrade) ?</title>
<link>https://overflow.efficy.io/?qa=163/modification-development-database-production-database-upgrade</link>
<description>&lt;p&gt;Dear all,&lt;/p&gt;

&lt;p&gt;I have to do the migration from Efficy 2012 summer to Efficy 2014.&lt;/p&gt;

&lt;p&gt;For those that are working with Efficy 2014, I would like to know how to trace the changes in the database in order to redo them when we will go live. &lt;/p&gt;

&lt;p&gt;I heard there was a tool for that in 2014 but I don’t which one and how to use it.&lt;br&gt;
Could you please point me in the right direction ?&lt;/p&gt;

&lt;p&gt;If you have any other good advice in order to migrate a DB and Custom to 2014 they will be greatly appreciated.&lt;/p&gt;

&lt;p&gt;Best Regards,&lt;br&gt;
Stéphane RONCIN&lt;/p&gt;
</description>
<category>Database</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=163/modification-development-database-production-database-upgrade</guid>
<pubDate>Mon, 26 Jan 2015 08:36:50 +0000</pubDate>
</item>
</channel>
</rss>