I reply to myself

!!store.getValue(tiddler,"alias")

perfectly fixed all the empty, null or undefined Alias.

The whole code looks like :

[[Aliases]]
<<forEachTiddler
    where
        '!!store.getValue(tiddler,"alias") && 
!tiddler.tags.contains("Trash")' 
   sortBy
      store.getValue(tiddler,"alias").toLowerCase();
      ascending
   write 
      
'"\n|"+store.getValue(tiddler,"alias")+"|[["+tiddler.title+"|"+tiddler.title+"]]|"'
      begin
         '"|!Acronym|!Title|"'
>>

++

JBo



On Monday, July 1, 2013 9:48:07 PM UTC+2, julien23 wrote:
>
> One last before I definitely declare myself satisfied for ever ... or at 
> least until tomorrow
>
> I don't manage to have
>
>> where
>> '(store.getValue(tiddler,"alias") != undefined)' 
>>
>
> working properly
>
> also tried
>
>> != null)' 
>> != 'undefined')'
>
> != "")'  
>>
>
> If one of you have more knowledge than I have luck :-)
>
> Julien
>
> Le lundi 1 juillet 2013 21:25:50 UTC+2, julien23 a écrit :
>>
>> Thank you Eric
>>
>> my final would be
>>
>> <<forEachTiddler
>>> where
>>>     'tiddler.tags.contains("$1")'
>>> sortBy 
>>>    store.getValue(tiddler,"alias")
>>>    ascending
>>> write
>>>     '"\n|"+store.getValue(tiddler,"alias")+"|"+tiddler.title+"|"
>>> begin
>>>     '"|!acronym|!title|"'
>>> >>
>>>
>>
>> Good night all
>>
>> Le lundi 1 juillet 2013 20:42:43 UTC+2, Eric Shulman a écrit :
>>>
>>>    write
>>>
>>>>            '"|"+*tiddler.alias*+"|"+tiddler.title+"|\n"
>>>> but *tiddler.alias* still send "undefined" to the table...
>>>>
>>>>
>>> instead of tiddler.alias try store.getValue(tiddler,"alias") 
>>>
>>> enjoy,
>>> -e
>>> Eric Shulman
>>> TiddlyTools / ELS Design Studios
>>>
>>> HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
>>>    http://www.TiddlyTools.com/#Donations
>>>
>>> Professional TiddlyWiki Consulting Services...
>>> Analysis, Design, and Custom Solutions:
>>>    http://www.TiddlyTools.com/#Contact
>>>
>>

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to