Forum Discussion

SWilyums's avatar
SWilyums
Contributor
3 days ago

Dynamic Column Headers in the PLPRegister

Hello All,

Anyone know if it is possible to pass a parameter value into the PLP Register?  I have a method query returning a value based on scenario & year and need that to be the column header in the register.  This is more of a POC than a hard requirement at this point.

Any creative suggestions are welcome.

 

  • victortei's avatar
    victortei
    New Contributor III

    This can only be handled through custom coding. You’ll likely need to modify the function called from the SQL Table Editor:

    Function: GetColFmt in PLP_ParamHelper

    Function: GetColFormat in PLP_SolutionHelper

    From there, you can plug in your code and return the desired result depending on the current Scenario & Year.

    PS: I currently don’t have access to any recent PLP deployments, so I’m not sure if the functions are the same in the newer versions

     

    • SWilyums's avatar
      SWilyums
      Contributor

      Hello Victor, I will get test this next week and circle back.  Thank you for your help.