Hello, If I understood correctly the TargetLists can be formed only from general entity reports:
switch ($entityType) {
case 'Contact':
$link = 'contacts';
break;
case 'Lead':
$link = 'leads';
break;
case 'User':
$link = 'users';
break;
case 'Account':
$link = 'accounts';
break;
default:
throw new Error();
}
We have created our own "Subscription" entity. There are a link to accounts as well, but if I create report from this entity, I can't, or don't know how to, add these accounts to TargetList. Might be anyone can explain how to extend a TargetList creation variations.
I need to use automation of TargetList formating.
Now I get 500 error if I tried to sync my report from "Subscription" entity to TargetList. Espo.ERROR: (500) POST /api/v1/Report/action/syncTargetListWithReports; line: 3514, file: ...../Espo/Modules/Advanced/Services/Report.php
switch ($entityType) {
case 'Contact':
$link = 'contacts';
break;
case 'Lead':
$link = 'leads';
break;
case 'User':
$link = 'users';
break;
case 'Account':
$link = 'accounts';
break;
default:
throw new Error();
}
We have created our own "Subscription" entity. There are a link to accounts as well, but if I create report from this entity, I can't, or don't know how to, add these accounts to TargetList. Might be anyone can explain how to extend a TargetList creation variations.
I need to use automation of TargetList formating.
Now I get 500 error if I tried to sync my report from "Subscription" entity to TargetList. Espo.ERROR: (500) POST /api/v1/Report/action/syncTargetListWithReports; line: 3514, file: ...../Espo/Modules/Advanced/Services/Report.php
Comment