Показать сообщение отдельно
Старый 02.11.2018, 20:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
a33ik: How to get list of private projects in the model
Источник: http://daxonline.org/1630-how-to-get...the-model.html
==============

Job to get list of private projects in specific model


static void VkPrivateProjects(Args _args){ SysModelElement sysModelElement; SysModelElementData sysModelElementData; ModelRecId modelId = 954; while select sysModelElement where sysModelElement.ElementType == UtilElementType::PrivateProject join sysModelElementData where sysModelElementData.ModelElement == sysModelElement.RecId &&sysModelElementData.ModelId == modelId { info(sysModelElement.Name); }}
To get the list of models on the layer:

axutil list /s:"SqlServer" /db:"ModelStoreDBName_model" /layer:"CUS"


How to move project to another model: https://daxonline.org/1495-moving-a-project-to-another-model.html
Get access to private project: https://daxonline.org/1522-getting-a...-projects.html



Источник: http://daxonline.org/1630-how-to-get...the-model.html