Hi James
Thanks for your reply, I have been following the formula !
I'm now just venting !
When I say there is no 'dimension' attribute, I mean in the schema.json file.
wiki_id in the course_dim table has no 'dimension' attribute
I think it should be there!
The formula can determine a lot of foreign keys, but you still have to ask the data if the string 'foreign key' is in the description!
What happens when it says: '(Not implemented) Foreign key to the user agent dimension table.'!
When the key is' external_tool_id' it needs to be pointed at external_tool_activation_dim.
This requires manual intervention! Formula doesn't work
In addition even if there is a 'dimension' attribute it references the key name of the table in the schema not its actual name.
So you get 'account' instead of 'account_dim'
These are all gotcha's that are causing me a lot of work I wouldn't have to do if the schema.json file was coherent!
Their 'schema.json' file should be called 'a schema_like_doc.json'!
Canvas should fix it.
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.