Hello all,

I'm hoping to simplify my end-user login experience using BOB. Currently I 
have each user enter their name when the load the wiki and then use that 
name to log things. My thought is that to save them the typing, I could 
send them a permalink and figure it out automatically from there. It seems 
I cannot do this the way I intended as the value I'm trying to expand is 
always blank...

Here's what I'm trying:

Start with link like 
10.1.111.111:8080/Wiki#UserA

Make a new startup tiddler like $:/mywiki/startup and tag it 
$:/tags/StartupAction. Containing:
<$action-setfield $tiddler="$:/temp/startup" $field="user" 
$value={{{[list[$:/StoryList]first[1]]}}}/>

My logic being that the permalink will cause a single tiddler to open on 
startup (in my case "UserA"), then the StartupActions fire and the first 
tiddler in the StoryList would be UserA, which would then log to 
$:/temp/startup!!user. Instead, it's blank.

I keep trying things, like a hard coded value in the $value area - which 
does work. So that means the problem is either:

   1. It's the {{{ [[]] }}} notation in the $value area - which normally 
   works, but doesn't during startup? I tried doing that part in a $set and it 
   didn't help
   2. The order of operations is such that the StartupActions happen before 
   the UserA even loads (this seems most likely)
   3. Something else?

Anybody have an idea why this doesn't work - or a different solution?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b71a36cd-b490-46ee-a427-bff81eca18f6%40googlegroups.com.

Reply via email to