Submitted on08-17-201802:04 AMSubmitted byagneumon08-17-201802:04 AM
Your documentation reads: RenameColumns( Table, OldColumneName, NewColumnName ) OldColumnName - Required. Name of the column to rename. This name must be a string (for example "Name" with double quotes included). NewColumnName - Required. Replacement name. You must specify a string (for example, "Customer Name" with double quotes included) for this argument. My suggestion is to fix this so that you can either a) Pass any valid string variable to this function.. or.. b) Change the way DisplayName works for columns.
... View more
@agneum are you looking specifically just to change the display name of the column, or also its data type? The latter -- consuming data sources with dynamic schema -- is a large work item for canvas apps which are currently very strongly typed, but important for many scenarios and something we are planning for now. Flagging @LanceDelano and @GregLi here.