Hi Samuel, This has been fixed in under 5efb1a0 and will be part of iTop 3.1.2 and 3.2.0 releases. Thanks again for your report! Please feel free to send me a direct message with your fullname and postal address so we can send you contributors stickers. Regards Stephen
Hi, There's Buttons UIBlock, you can check in ButtonUIBlockFactory the static method MakeForPrimaryAction, it takes these parameters string $sLabel, string $sName = null, string $sValue = null, bool $bIsSubmit = false, ?string $sId = null. I think the fourth parameter , bIsSubmit is what you're looking for. Hope this helps! Regards Stephen
I understand, but in XML there's characters that you need to escape like <, > or &. So your attribute declaration should look either like this: <default_value>https://itop.prod.cz/itop/pages/exec.php/manage/itop-sw-overview?exec_module=itop-portal-base&exec_page=index.php&portal_id=itop-portal</default_value> or this: <default_value><![CDATA[https://itop.prod.cz/itop/pages/exec.php/manage/itop-sw-overview?exec_module=itop-portal-base&exec_page=index.php&portal_id=itop-portal]]></default_...
Hi Vasek, Did you try to escape the & character as & ? Regards Stephen
Hi Marc, I adapted the code to make it compatible with iTop 3.1, however doing so renders it incompatible with iTop 3.0 and earlier versions. If you need to downgrade to iTop 3.0, consider doing so along with this extension 😁 Let me know if this solves your issue! Take care, Stephen
Yes, the column token in priv_oauth_client table contains these data. But it's probably also missing the refresh_token as it was generated without offline_access in the first place, could you check this column in the same table ? I'm using these imap_option on my end and I'm able to connect to Azure: 'imap_options' => array ( 0 => 'imap', 1 => 'ssl', ), Also you can get more logs from OAuth by using log_level_min config parameter such as: 'log_level_min' => ['OAuth' => 'Debug'],
Yes, the column token in priv_oauth_client table contains these data. But it's probably also missing the refresh_token as it was generated without offline_access in the first place, could you check this column in the same table ? I'm using these imap_option on my end and I'm able to connect to Azure: 'imap_options' => array ( 0 => 'imap', 1 => 'ssl', ),
Following the addition of the offline_access permission, did you try to regenerate your token?