Stobot,

Have you looked at the https://tiddlywiki.com/?user#InfoMechanism eg try 
this https://tiddlywiki.com/?hithere#InfoMechanism

https://tiddlywiki.com/?user 
$:/info/url/search 
<https://tiddlywiki.com/?user=test#%24%3A%2Finfo%2Furl%2Fsearch> Search 
portion of URL of wiki (eg, *?user=test*)
https://tiddlywiki.com/?user=username
$:/info/url/search 
<https://tiddlywiki.com/?user=test#%24%3A%2Finfo%2Furl%2Fsearch> Search 
portion of URL of wiki (eg, *?user=test*)

Regards
Tony

On Thursday, January 9, 2020 at 1:26:11 PM UTC+11, Stobot wrote:
>
> 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/46a030fb-553a-4b77-9a6d-682e3274ca04%40googlegroups.com.

Reply via email to