Link to home
Start Free TrialLog in
Avatar of Steamer
Steamer

asked on

Link to submitted document




I have a webform , with $$ Return and WebQuerySave agent.
When i user creates a new document , i want to redirect him to his newly created document instead of a customised  " Document ha=s been created succesfully.

I can't find how to do it with $$Return since i dunno Univ ID of the new document yet.

Anyone can help ?
Avatar of madheeswar
madheeswar
Flag of Singapore image

ur wrong.

When u create a new document, a new DocID is generated and u can redirect by using this docid.

http://domainname.com/dbname.nsf/0/(docID)!opendocument
ASKER CERTIFIED SOLUTION
Avatar of Bozzie4
Bozzie4
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
What Tom is the same which I said before.

Tom has kept in a cool way.
Avatar of p_partha
p_partha

My 2 cents:

Little less overhead on server's performance

"[[/" + @replacesubstring(@subset(@dbname;-1);" ":"\\";"+":"/") + "/_/" + @text(@documentuniqueid) + "?Open]]"


Partha
Umm, partha, your code is identical to Tom's.

Also, the print statement overrides BOTH $$Return and any additional print |[ ... ]| statement.
Double square brackets Qwalette... :)

Partha
Ah.

Of course, I'm nt CONVINCED that's really more efficient from the server side, but, whatever.  Also, the double-brackets are only guaranteed to work on search URLs.