I went into more issues with Datepicker, moment and saving/loading data from server. I developed a small and handy directive to handle validation and format issues I'll share it here if allowed and when I have access to PC as I'm on mobile now.
Thanks everyone.
Well, There is something wrong going on here.
I have Host-Level entities that is data shared across all tenants.
The following is defined for permissions on one of those entities:
[AbpAuthorize(SmsPermissions.Pages_HOSTREFDATA_ENTITY, SmsPermissions.Pages_REFDATA_GLOBAL, RequireAllPermissions = false)]
The Host Admin is given Pages_HOSTREFDATA_ENTITY (This permission defined on Host level). The Tenant Admin is given Pages_REFDATA_GLOBAL (This permission is defined on Tenant level).
Now, when I log in with Tenant Admin and using SetTenantId(null), I get an exception saying at least one of the above 2 permissions are required.
How come?
Hi Ismail, I sent you the email last week. Whenever you have time to check it pls.
Thanks
I found that best option to validate Kendo UI DatePicker is to use a custom directive. Have a look here: <a class="postlink" href="http://codepen.io/bilalhaidar/pen/RpXYJd">http://codepen.io/bilalhaidar/pen/RpXYJd</a>
Thanks
Never. I even tried to contact their support and they didn't help. I switched to kendo ui datepicker and working smooth.
Thanks
And if I'm using same DB for all tenants and host and entities without tenant property, still I need to set tenant?
Thank you. I understand now. Why would DS not be UOW?