Quantcast
Channel: Software Communities : Popular Discussions - Dell One Identity Manager
Viewing all articles
Browse latest Browse all 845

Webdesigner: Get Database Information before authentification

$
0
0

Hello,

 

we use a web project with the authentification setting: Person (rolebased)

 

A new requirement is to show the users some hours before a maintenance some Information about it. This information is basicly stored in the Table DialogConfigParm

 

Therefore I need to access to the Data (DialogConfigParms) of the Database before the user is authentificated.

 

So far I havetriedthe following

 

1.    Using Singleproperty in a DisplayNode

2.    Using a Collection with the source Type Database-Query

 

Especially the 2nd one should not go through the object layer in my opinion. Also a SQL-Connection should be set at this time.

 

However I receive the following error Message by opening the Login-Page:

 

Error while loading collection ConfigparmWartungsModus.
at VI.WebDesigner.Action.LoadTableDefinition.ExecuteInternal(ActionExecutor executor)
at VI.WebDesigner.Action.ActionBase.Execute(ActionExecutor executor)
at VI.WebDesigner.Action.ActionSequence.ExecuteInternal(ActionExecutor executor)
at VI.WebDesigner.Action.ActionBase.Execute(ActionExecutor executor)
at VI.WebDesigner.Definition.Components.ComponentBase.InitializeComponentInstance(ActionExecutor executor)
at VI.WebDesigner.Definition.Components.GlobalComponentUsage..ctor(ActionExecutor executor, ComponentBase ctl, IComponentReference reference)
at VI.WebDesigner.Definition.Components.ContextGraphNode.EnterSubNode(ActionExecutor exec, IComponentReference compRef, IDocumentControl ctl)
at VI.WebDesigner.Renderer.Controls.ControlReferenceRenderer.Create(Control parent, BaseControlDefinition definition, RenderManager renderer)
at VI.WebDesigner.Renderer.RenderManager.RenderInternal(Control parent, BaseControlDefinition controlDefinition)
at VI.WebDesigner.Renderer.RenderManager.Render(Control parent, BaseControlDefinition controlDefinition)
at VI.WebDesigner.Renderer.RenderManager.RenderSub(Control parentControl, IContainerControl parentDef)
at VI.WebDesigner.Renderer.Controls.ContainerRenderer.Create(Control parent, BaseControlDefinition definition, RenderManager renderer)
at VI.WebDesigner.Renderer.RenderManager.RenderInternal(Control parent, BaseControlDefinition controlDefinition)
at VI.WebDesigner.Renderer.RenderManager.Render(Control parent, BaseControlDefinition controlDefinition)
at VI.WebDesigner.Renderer.RenderManager.RenderSub(Control parentControl, IContainerControl parentDef)
at VI.WebDesigner.Definition.Controls.PagePartContainer.PagePartContainerRenderer.Create(Control parent, BaseControlDefinition definition, RenderManager renderer)
at VI.WebDesigner.Renderer.RenderManager.RenderInternal(Control parent, BaseControlDefinition controlDefinition)
at VI.WebDesigner.Renderer.RenderManager.Render(Control parent, BaseControlDefinition controlDefinition)
at VI.WebDesigner.Definition.Include.PageType.RenderSingleItem(PageRenderItem pri, RenderManager renderManager)
at VI.WebDesigner.Definition.Include.PageType.RenderPage(RenderManager renderManager, Control formControl, Control headControl, Control bodyControl)
at VI.WebDesigner.Runtime.Communication.WebPage.RenderPageInternal(RenderManager renderManager)
at VI.WebDesigner.Runtime.Communication.WebPage.RenderPage(RenderManager renderManager)
at VI.WebDesigner.Runtime.Communication.WebPage.BuildForm()
Object reference not set to an instance of an object.
at VI.WebDesigner.Runtime.SQLTable.LoadInternal(ActionExecutor executor, DataExpression statement, ILoadTableOptions loaderDefinition)
at VI.WebDesigner.Runtime.SQLTable.Load(ActionExecutor executor, DataExpression statement, ILoadTableOptions loaderDefinition)
at VI.WebDesigner.Action.LoadTableDefinition.ExecuteInternal(ActionExecutor executor)

 

 

 

In the Webdesigner the Login-Page presents the data as required, but I think that I’m already authentificated before I get the login Page.

 

 

So what are the optionstogetdatabefore the authentication? At best, without using an additional webproject.

Best regards,

 

Martin


Viewing all articles
Browse latest Browse all 845

Trending Articles