TeamDesk Knowledge Base & Support

   Home      FAQ      Forum      Idea Exchange      Ask a Question      My Stuff      Help   
  
Workflow buttons to return to #anchor_
On performing a workflow via a preview button, the workflow will carry out and return to the base #anchor_

i.e. lets say you have a record that has related tables residing at the bottom (in TAB format). If you're viewing a Related Table that is not the first one, performing the Workflow Action will refresh the screen back to the first TAB...

It's a small annoyance.

I tried creating a CallToURL workflow:

URLRoot() & "/preview.aspx?t="& TableId() & "&id=" & RecordId() & "&back=" & BackURL()&"#anchor_"& URLParam(URLRoot() & "/preview.aspx?t="& TableId() & "&id=" & RecordId() & "&back=" & BackURL(),"#anchor_")

but it throws back an error - probably because it's not designed to perform this way 😃

I can see that the "#anchor_" in the URLParam() probably isn't going to work anyway...but thought I'd give it a crack 😉

ID
1010
Category
TeamDesk
Author

basenine
Date Created
5/4/2016 9:13:36 PM
Date Updated
5/10/2016 11:41:53 AM
Status
New Idea
Score
10
Promoted By
basenine
Comments
Kirill Bondar  Staff  5/5/2016 5:55:04 AM
1. CallToURL is no-go because it does not navigate the browser to new location, it rather fetches the content from URL.
2. Basically it's an issue on our side because we generate links and buttons with "back" parameter pre-rendered by server - that's we do not track URL changes when tabs are clicked.
basenine 5/5/2016 5:56:29 AM
Thank you Kirill,

It does look like the anchor changes in the URL when you go between tabs
Kirill Bondar  Staff  5/5/2016 6:00:11 AM
"back" parameter is a Base64-encoded URL and is added to every link and button. Anchor changes in browser URL but in this case all "backs" in all links need to be recoded to reflect the change - that's what is missing.
basenine 5/5/2016 6:04:33 AM
hmmm....it looked to me like the back url was consistent (I only looked at two)..

or are we talking two different things? I'm looking directly at the URL and using the URLRoot()....etc and grabbing the backURL() ----putting all that together and the URLParam() to get the anchor of the page/tab that I'm viewing
Philipp Matuschka (MMB) 5/10/2016 2:53:28 AM
Just fyi there's a very similar idea to this open already. You may want to merge
basenine 5/10/2016 3:16:42 AM
thank....
Philipp Matuschka (MMB) 5/10/2016 11:41:53 AM
Feedback
 
Back to Search Results