logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Create Metadata
Jim Spicer
#1 Posted : Sunday, November 20, 2011 12:01:52 AM(UTC)
Rank: Member

Groups: Registered
Joined: 11/19/2011(UTC)
Posts: 12
Location: Lodi, California

Hi,
I'm doing this eval backwards I guess. Tried configuring the My First Dashboard app from the Users Guide and it partially worked. Then I decided to try the Sample Code "Hello World". So I deleted all the tables in my SQL 2005 Server database related to this application. And then tried to re-run the Create Metadata function from the DashboardSurface1 control. However it fails with an error "...there is already an object DeleteUserDashboard in the database". I can't find a table by this name..what does this message mean and how do I get around it?

thanks, Jim
Jim Spicer
#2 Posted : Sunday, November 20, 2011 12:29:56 AM(UTC)
Rank: Member

Groups: Registered
Joined: 11/19/2011(UTC)
Posts: 12
Location: Lodi, California

Nevermind (LOL)! DeleteUserDashboards and DeleteAllDashboards are Stored Procedures. Once I deleted all the dashboard type tables and widget type tables plus these two stored procedures I was able to run Create Metadata. But after choosing to add a Sample Widget I get multiple error screens being thrown up from the write to the database. However, the sample app compiles and runs and seems to work. But what are the errors?

Jim
berkay
#3 Posted : Sunday, November 20, 2011 10:53:37 AM(UTC)
Rank: Advanced Member

Groups: Registered, Administrators
Joined: 6/8/2011(UTC)
Posts: 168
Location: Turkey

Was thanked: 6 time(s) in 6 post(s)
could you send your web.config file please ?

Berkay ERKOY
Development & Support Team
www.dynamicdashboards.net
Jim Spicer
#4 Posted : Tuesday, November 22, 2011 7:56:38 PM(UTC)
Rank: Member

Groups: Registered
Joined: 11/19/2011(UTC)
Posts: 12
Location: Lodi, California

Hi,
I sent the web.config file to you on Sunday using the contact information provided.

I have used the Hello World web.config settings and the dashboard/widgets render and mostly work. But I am concerned something is basically wrong because when I use the SmartTag on the dashboardsurface1 control to edit a Widget Type, the edits make it to the db table (as much as I can tell?) but I get around 20 error screens complaining about 'data source', binding and gridview erros. This is really disturbing and I don't want to proceed until I can resolve these errors.

Can you help me?

TIA, Jim Spicer
berkay
#5 Posted : Tuesday, November 22, 2011 9:00:13 PM(UTC)
Rank: Advanced Member

Groups: Registered, Administrators
Joined: 6/8/2011(UTC)
Posts: 168
Location: Turkey

Was thanked: 6 time(s) in 6 post(s)
I have already replied your mail. I think your problem causes from last comma in your connection string.

Could you try removing the comma ?

Regards.
Berkay ERKOY
Development & Support Team
www.dynamicdashboards.net
Jim Spicer
#6 Posted : Tuesday, November 22, 2011 11:15:00 PM(UTC)
Rank: Member

Groups: Registered
Joined: 11/19/2011(UTC)
Posts: 12
Location: Lodi, California

Man, you are good. I removed the last semi-colon (;) from the connection string and all errors went away.

Whew, thank you!

Jim
berkay
#7 Posted : Wednesday, November 23, 2011 9:03:07 AM(UTC)
Rank: Advanced Member

Groups: Registered, Administrators
Joined: 6/8/2011(UTC)
Posts: 168
Location: Turkey

Was thanked: 6 time(s) in 6 post(s)
You're Welcome.


Regards.
Berkay ERKOY
Development & Support Team
www.dynamicdashboards.net
Jim Spicer
#8 Posted : Friday, November 25, 2011 9:07:50 PM(UTC)
Rank: Member

Groups: Registered
Joined: 11/19/2011(UTC)
Posts: 12
Location: Lodi, California

Hi Berkay,
I'm considering purchasing your product but have a few questions. We're running a financial collaboration system for Corporate customers with desktop and web synchronization. On web we are in an asp.net Authentication/Roles environment. I plan to use DD as the default.aspx landing page. My questions are:
1. I want to have one Dashboard per Role, managed by the System. Is this possible?
a. If not can a master dashboard be copied for a New User the first time they log in?
2. Each logged in/authenticated User sees the appropriate list of available Widgets for their Role. Is this possible?
3. DD and our code manages the page layout and settings of each widget for each User.

Are there any knowledge articles that describe this application?

Thanks for your help, Jim
berkay
#9 Posted : Saturday, November 26, 2011 5:22:07 PM(UTC)
Rank: Advanced Member

Groups: Registered, Administrators
Joined: 6/8/2011(UTC)
Posts: 168
Location: Turkey

Was thanked: 6 time(s) in 6 post(s)
Hello Jim,

Answers

1. Yes you can show your dashboards according to user's roles. DD is very expandable. It has many events for these process. you can make this example by using DashboardMenuPrepare event of surface. Dashboards instance has AuthorizationInfo. If you have already set AuthorizationInfo from Dashboard Editor, you can filter your dashboards by calling Thread.CurrentPrincipal.IsInRole . This way works with windows and forms authentication. If you want to work with custom authentication , you should use generic principle.


2. Yes you can filter widget type list according to user role.You can achieve this on WidgetTypeMenuPrepare event. you should getAllwidgets from DashboardFramework than you should add
them to e.List by filtering according to user role.

3. User can manage layout on DashboardsEditor.aspx in sample project. You can use it in every project. And finally u can set widget properties in WidgetPropertiesSetting event according to user.


We only have User Manual. And now we are upgrading it with new samples. It will be ready on new release in a couple of weeks.

Regards.
Berkay ERKOY
Development & Support Team
www.dynamicdashboards.net
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.


This page was generated in 0.098 seconds.