Solved

Programatically building the LDM

  • 21 July 2020
  • 2 replies
  • 188 views

Hello, 

 

Can the LDM be created programmatically verses having to use the UI to create it? 

icon

Best answer by jakub.sterba 21 July 2020, 23:18

View original

2 replies

GoodData platform offers MAQL DDL which can be used to create LDM. There is also API to publish model defined by JSON structure.

Userlevel 2

You can also use Ruby SDK to create your model programmatically. There are functions like add_dataset, add_fact, etc. The function blueprint reads LDM from an existing workspace so you can modify it and post it back. See https://sdk.gooddata.com/gooddata-ruby-doc/docs/creating_project_from_blueprint.html

Reply