Page 1 of 2

Setting the default datasource.

Posted: Fri Jun 06, 2014 1:10 pm
by steve3squared
Hey,

Is there a way to set the default datasource in StiMobileDesigner? I dont want the users to be able to set it. The app I'm working on sets the data on load.

Thanks

Re: Setting the default datasource.

Posted: Mon Jun 09, 2014 10:09 am
by HighAley
Hello.

There is a ShowDictionary property that you could set to False to hide Dictionary tab.

Thank you.

Re: Setting the default datasource.

Posted: Tue Jun 10, 2014 8:56 am
by steve3squared
Hi,

The ShowDictionary isnt what I'm looking for.

The scenario is, there will always be only 1 datasource, can it be selected automatically and maybe the dropdown hidden?

Regards

Re: Setting the default datasource.

Posted: Tue Jun 10, 2014 1:50 pm
by HighAley
Hello.

There will be opened your report with the necessary Data Source and user will be not able to change it.
It will be possible to use Fields from the Data Source in the components of the report.

Thank you.

Re: Setting the default datasource.

Posted: Tue Jun 10, 2014 2:28 pm
by steve3squared
Hey Aleksey

I dont understand what your saying

Aleksey Andreyanov wrote:Hello.

There will be opened your report with the necessary Data Source and user will be not able to change it.
It will be possible to use Fields from the Data Source in the components of the report.

Thank you.

Re: Setting the default datasource.

Posted: Wed Jun 11, 2014 10:48 am
by HighAley
Hello.

I meant that if the Dictionary tab is disabled, the Data Source could be set to report in code and it's possible to use it in the designer.

Thank you.

Re: Setting the default datasource.

Posted: Wed Jun 11, 2014 10:56 am
by steve3squared
Thanks Aleksey,

Couldnt be a little cheeky and point me into the right direction from the code point of view?

Thanks

Re: Setting the default datasource.

Posted: Thu Jun 12, 2014 6:09 am
by HighAley
Hello.

Could you specify what problems do you have with the implementation?

Thank you.

Re: Setting the default datasource.

Posted: Thu Jun 12, 2014 3:05 pm
by steve3squared
When a user drops a new control on the report form. I dont want the user to see the "Data Source" drop down menu. I want it to be hidden and the datasource I provide upon opening the report to be set.

I'm trying to reduce the amount of complexity for the users that will be using my system.

Cheers

Re: Setting the default datasource.

Posted: Fri Jun 13, 2014 7:23 am
by HighAley
Hello.

If you are writing about this drop-down list when the Data Band is put on the report page, it's impossible to remove it.
Data.png
Data.png (8.82 KiB) Viewed 2368 times
But there will be only those data source the you added.

Thank you.