I need to hide some columns in relationship grid base on the some rules of parent item type when form on populated.
Is it possible?
Hope this is useful.
var inn=new Innovator();
RT.setAttribute("where","[RelationshipType].source_id='"+iType.getID()+"' and [relationshiptype].name=''");//relationship type name
nProp.setAttribute("where","[Property].source_id='"+relid+"' and [property].name='property name'");//say department
if(document.thisItem.getProperty("say department")==="")//give your dept name
thanks for sharing your sample code! Will it also work when several people work within the same instance in parallel? As you directly change the ItemType property I assume it will work well for a certain amount of people. But what will happen when around 1000 users will move around in the same ItemType?
I am also interested in the use case, but haven´t found a solution yet. But in the past I was thinking about a Method that uses dijit to influences the relationship content. But that was just an idea...
// EDIT: I think made some mistake reading your code. You only overwrite the property settings in the DOM, not in the database, correct? That of course shouldn´t make any trouble. :-)