Skip to main content
Submitted

Set mapping by default to valid table

  • March 20, 2020
  • 6 replies
  • 1 view

Forum|alt.badge.img

When creating a custom table insert, when you map some tables to the parameters. By default the Raw table is mapped.

Normally I always use the Valid table. Please map the Valid table by default instead of the Raw table.

Or maybe create a project setting which allows you to set the default mapping (Valid of Raw). 

6 replies

Forum|alt.badge.img
  • Known Participant
  • March 20, 2020

yes please !


Forum|alt.badge.img
  • Known Participant
  • March 23, 2020

And when "suffix valid tables" is selected as a project option, name it <table name>_V as well.

That way you can easily test in SSMS or other SQL scripting tools and just paste it onto TX.


Forum|alt.badge.img
  • Author
  • Known Participant
  • March 23, 2020

Hi CalmCo support,

It is possible to see the actual SQL query. When you click the 'Show translation' option. See below.

hwfNPmvlZ1IPXDqj8tbEgw.png

This is the code you can copy to SSMS. 


Forum|alt.badge.img
  • Known Participant
  • March 23, 2020

Learned a new thing today, thanks!


Forum|alt.badge.img
  • Known Participant
  • April 3, 2020

I think you have to adhere to the way TimeXtender works behind the scenes.

So when dropping a table on the views I would create two parameters: one for raw and for valid that follow the table names as they are present in the stage or dwh database, taking into account the prefix and suffix settings

I.e. if you have set suffix valid table to yes you get two parameters:

[tablename_R] for raw and [tablename_V] for the valid table. I would also reference them that way in the Object Name/Value column.

For custom scripting I would do the same. If you drag the table into the script create _R and _V parameters and let the user delete the one he doesn't need.

When right clicking on a table don't offer the option "Add Parameter" but offer three options: Add as Raw table, Add as Valid table, add both.

That way you clear up all confusion.


  • Participating Frequently
  • February 12, 2021

Thanks for your product feedback.

We have passed your input to our R&D department for further evaluation.

The roadmap of our product is focused on a split in ODX, MSW, Semantic Layer and Customer Portal.

With that split we will see new features and functions appear that might exceed your expectations or make the request obsolete.