05-06-2014 10:18 AM
<types>
<!– Data list defintions For this model go here –>
<type name="reportdl:reportRecipientsDatalist">
<title>Reports Data List</title>
<description>Report Recipients Data List</description>
<parent>dl:dataListItem</parent>
<properties>
<property name="reportdl:department">
<title>Department</title>
<type>d:text</type>
<mandatory>true</mandatory>
<constraints>
<constraint ref="reportdl:departments" />
</constraints>
</property>
<property name="reportdl:reportName">
<title>Report Name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="reportdl:uniqueIdentifier">
<title>Report Unique Identifier</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="reportdl:frequency">
<title>Report Frequency</title>
<type>d:text</type>
<mandatory>true</mandatory>
<constraints>
<constraint ref="reportdl:frequencies" />
</constraints>
</property>
<property name="reportdl:suffix">
<title>Suffix</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
</properties>
<associations>
<association name="reportdl:recipientGroup">
<title>Recipient Group</title>
<source>
<mandatory>false</mandatory>
<many>true</many>
</source>
<target>
<class>cm:authorityContainer</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</association>
<association name="reportdl:recipientUser">
<title>Recipient User</title>
<source>
<mandatory>false</mandatory>
<many>true</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</association>
</associations>
</type>
</types>
05-07-2014 09:10 AM
CBC,NSFs,NSFs,Daily,b16,,GROUP_ALFRESCO_ADMINISTRATORS
Richmond Hill,Large Amounts,LargeAmounts,Daily,b9,,GROUP_ALFRESCO_ADMINISTRATORS
Unknown,403_UnextendedCredit.select,403_UnextendedCredit,Unknown,Nil,,
Unknown,191_LOANS_-_TORONTO.select,191_LOANS_,Unknown,Nil,,
Deposits,Activity,Activity,Daily,y46,,GROUP_ALFRESCO_ADMINISTRATORS
var entry = depoList.createNode(null,reportdl:reportRecipientsDatalist);
entry.properties["reportdl:department"]="CBC";
entry.properties["reportdl:reportName"]="NSFs";
entry.properties["reportdl:uniqueIdentifier"]="NSFs";
entry.properties["reportdl:frequency"]="Daily";
entry.properties["reportdl:suffix"]="b16";
entry.properties["reportdl:recipientUser"]=userArray;
entry.properties["reportdl:recipientGroup"]=groupArray;
entry.save();
groupArray[0]=people.getGroup("GROUP_ALFRESCO_ADMINISTRATORS");
entry.assocs["reportdl:recipientGroup"]=groupArray;
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.