I noticed that when I start a process from an HTML link with "AwareApp.startProcess('ChangeBO', 'popup')", it automatically changes the Visual Perspective to the default VP for the user (in this case me, the Administrator). Is this a known side-effect of AwareApp.startProcess and is there a way to avoid it?
Note that the HTML link is placed in a form that itself is placed in the Banner of the VP, so it is not on a 'normal' form. I am not sure whether this makes any difference.
startProcess automatically changes Visual Perspective
startProcess automatically changes Visual Perspective
Niels
(V9.0 build 3241 - MariaDB - Windows)
(V9.0 build 3241 - MariaDB - Windows)
-
- Posts: 7526
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Re: startProcess automatically changes Visual Perspective
What is the complete HTML you are using there?
Aware IM Support Team
Re: startProcess automatically changes Visual Perspective
The full HTML is:
'Session' is the non-persistent session object.
The idea is to convert the name into a clickable link, which triggers a process. That works, but has the side-effect that the VP is automatically changed to the default VP.
Code: Select all
<<IF Session.Issuer_IsSelected='Yes' THEN SHOW SECTION_START>>
<a href='#' onclick="AwareApp.startProcess('ChangeIssuer', 'popup')"><<Session.Current_Issuer.Name>></a>
<<SECTION_END>>
The idea is to convert the name into a clickable link, which triggers a process. That works, but has the side-effect that the VP is automatically changed to the default VP.
Niels
(V9.0 build 3241 - MariaDB - Windows)
(V9.0 build 3241 - MariaDB - Windows)
-
- Posts: 7526
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Re: startProcess automatically changes Visual Perspective
Please remove href='#' and it will be fine.
Aware IM Support Team