51fe4ef567eb27cbbf75afcad64a2e6428eec4c8
Integration/Tutorials/Customizing-Izenda-Settings.md
| ... | ... | @@ -59,7 +59,7 @@ public class CustomAdHocConfig : Izenda.AdHoc.FileSystemAdHocConfig |
| 59 | 59 | //Set connection string per-tenant |
| 60 | 60 | AdHocSettings.SqlServerConnectionString = GetConnectionStringByCompany(company); |
| 61 | 61 | //Set the stored reports file folder path per-tenant |
| 62 | - AdHocSettings.ReportsPath="\\" + company + "\\" + GetUserDepartment(AdHocSettings.CurrentUserName); |
|
| 62 | + AdHocSettings.ReportsPath = string.Format("\\{0}\\{1}", company, GetUserDepartment(AdHocSettings.CurrentUserName)); |
|
| 63 | 63 | //Set table and view access |
| 64 | 64 | AdHocSettings.VisibleDataSources = GetTables(role); //get the allowed datasources based on role |
| 65 | 65 | //Set all other settings |