Tags:
create new tag
view all tags

SID-02198: SpreadSheetPlugin LISTMAP missing

Status: Answered Answered TWiki version: 6.0.2 Perl version: 5.10.1
Category: CategoryPlugins Server OS: RHEL 6.7 Last update: 9 years ago

We have a search that utilizes the LISTMAP option from the SpreadSheetPlugin. I see that from version 5 to version 6, LISTMAP is now not a valid option.

I have searched and cannot find any info on how to replace the use of LISTMAP now that it is gone.

Can someone give somone guidance?

This is my code:

%CALC{"$LISTJOIN( , $LISTMAP(%$NOP()INCLUDE{\"HostAbstractor\" system=\"$item\" asset=\"$CHAR(37)FORMFIELD{\"PrimaryAsset\" topic=\"$item\"}$CHAR(37)\" raw=\"on\" }$NOP()%, $GET(AllSystems)))"}%

I have a search that does populate the "AllSystems" properly.

-- Robert Webb - 2016-05-09

Discussion and Answer

$LISTMAP() has been renamed to $LISTEACH(). The $LISTMAP() function remains available as an undocumented function; compatibility is key, so it is not scheduled for removal.

-- Peter Thoeny - 2016-05-10

Thanks Peter.

I looked and saw the disappearance of LISTMAP and could not find anything documenting that LISTEACH was its replacement and that LISTMAP was still usable.

Guess it is back to the debugging board.

Search worked in 4.1.2 but in 6.0.2 when running, it is throwing an error of trying to use the topmenubar repeatedly. Now thinking a maybe an update in the skins is causing an issue.

-- Robert Webb - 2016-05-10

I updated the SpreadSheetPlugin to document the undocumented LISTMAP as a deprecated syntax.

-- Peter Thoeny - 2016-05-10

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title SpreadSheetPlugin LISTMAP missing
SupportCategory CategoryPlugins
TWiki version 6.0.2
Server OS RHEL 6.7
Web server Apache
Perl version 5.10.1
Browser & version

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2016-05-10 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.