<div dir="ltr">Hello Alex,<div><br></div><div>It's not as easy as you mentioned.</div><div><br></div><div>You need to add the link in the DB to make the setting show up in the menu (vtiger_settings_fields table) but the views and CRUD process of your settings view need to be manually coded.</div><div><br></div><div>The best thing you could do is reserve engineer one view similar to what you need. Maybe company information?</div><div><br></div><div>Conrado</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 26, 2018 at 2:47 PM, Alex Hall <span dir="ltr"><<a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi all,<br></div>I'd like to add a custom setting. I have a data sync job in PHP that cron runs, syncing from the AS400 to Vtiger. Per a suggestion from this list, the 400 now has a table storing only the records that have changed, and each record has a datetime so I can grab only changes since the sync job's last run. Storing the time of that last run is where my custom setting comes in.<br><br></div>I need a place to keep a PHP date object, or a string that matches the 400's datetime string format. Either way is fine with me. Can I make a new configuration setting and access it? If so, how? Do I just add it to a config file? If it's that easy, what is the PHP code for accessing and later updating the setting? Thanks for any suggestions.<span class="HOEnZb"><font color="#888888"><br clear="all"><div><div><div><br>-- <br><div class="m_-3544676429628439645gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Alex Hall<br></div>Automatic Distributors, IT department<br></div><a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><br></div></div>
</div></div></div></font></span></div>
<br>______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>