PDA

View Full Version : Setting DAI Aliases from DataFlex



Michael Macliver
20-Sep-2016, 09:50 PM
Hi Bob,

We're starting to get stuck into our DataFlex integration to DAI, but we've come up against a bit of a road block.

Is there a way to dynamically set Aliases?

Thanks.

Bob Cergol
21-Sep-2016, 08:26 AM
Hi Mike,

Yes. There's a COM api that allows you to create, edit and delete users in Dynamic AI's repository. You can set user profile @Alias# values with it.

Keep in mind you can also pass report filter and dyn-view parameters as arguments in the URL in case your application's user data or run time context/logic might also define such values. You can also hide those filters via URL argument. The report doc found on the Tools menu gives examples of that. The Server manual and revision addendums document the complete set of URL parameters supported.

I'll email you directly regarding the API.

Bob

Michael Macliver
21-Sep-2016, 11:58 PM
Thanks Bob, this may give us what we need.

Yes I understand about the filters, but Aliases are much more secure. I can define an Alias as an enforced filter at the data dictionary level and this just flows down to any report that is based on this data source. Also if you schedule a report it will take enforced filters into account, but not normal filters.