- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
05-01-2018 10:36 AM - last edited on 05-01-2018 11:41 AM by kathleen_jo
So, @mukherr, this will give you a quick view of which profiles inherit from which libraries, just paste it into the dev tools console in Chrome or similar while logged into TIQ:
var p = utui.profile.import._profiles; var op = ""; for(var k in p){ op += p[k].name; for(var i = 0; i < p[k].imports.length; i++){ op += "\n " + p[k].imports[i].name; } op += "\n\n"; } console.log(op);
Alternatively, this will give you a CSV that contains all relationships to stick into a graph database:
var p = utui.profile.import._optionalLibraries; var op = "Profile,Library"; for(var k in p){ for(var i = 0; i < p[k].imports.length; i++){ op += "\n" + p[k].imports[i].name + "," + p[k].name; } } console.log(op);
Explore the _profiles, _optionalLibraries and _requiredLibraries properties of the utui.profile.import object in the TIQ UI for more detail..
05-03-2018 02:48 PM - last edited on 05-03-2018 03:54 PM by kathleen_jo
05-03-2018 06:18 PM - edited 05-03-2018 06:19 PM
Copyright All Rights Reserved © 2008-2023