To set up object permissions in that way you need to go to System settings - Object permission - Relationship connection. There you can set up permissions in that way as you provided in the request.
To set up object permissions in that way you need to go to System settings - Object permission - Relationship connection. There you can set up permissions in that way as you provided in the request.
In account section page, creating relationship with other companies in the "CONNECTED TO" tab" the account selection doesn't use the account popup lookup search.
How can I use the same account selection popup available in other standard account lookup fields?
I am trying to display the relationship information within the newer connected to diagram as a list such as how the older detail used to be able to be used.
Is there a way to display the information as a list so that it can be easily viewed in a list and exported out to excel?
I have tried to create a list report based off the underlying object for the diagram but I have been unable to find the correct object to use.
Unfortunately, the list view and export are not available in the new UI for "Connected to" diagram. We've already registered this idea in our R&D team backlog for consideration and implementation in future application releases. As an option, it's possible to disable the new UI for "Connected to" diagram and get back to the old one. However, the data inserted in the new UI will be lost while getting back to an old UI, same if you decide later to change the UI to the new one, changes applied in the old one - will not be saved. If you want this to be done, please reach out to us at support@creatio.com and we will disable UseRelationshipDesigner feature for you.
It is due to the fact that the "connected to" diagram was created to be universal, it does not have any proper connections to the other objects in the system. Thus, it can't be used for filtering records in objects.
Theoretically, you can create a view table in your system where needed columns from separate objects can be added and use it in the section's filter but we don't have any examples of such implementations.
We have already created a request for our R&D team to create such functionality.
I've created a view table, here my postgres script view
DROP VIEW
IF EXISTS "UsrAccountParentView";
CREATE
OR REPLACE VIEW "UsrAccountParentView" AS
SELECT uuid_generate_v4() AS "Id"
, reA."RecordId" AS "UsrAccountParentId"
, reB."RecordId" AS "UsrAccountChildId"
, rc."RelationTypeId" as "UsrRelationTypeId"
, '410006e1-ca4e-4502-a9ec-e54d922d2c00'::uuid AS "CreatedById"
, timezone('utc', now()) AS "CreatedOn"
, '410006e1-ca4e-4502-a9ec-e54d922d2c00'::uuid AS "ModifiedById"
, timezone('utc', now()) AS "ModifiedOn"
FROM "RelationshipEntity" reA
JOIN "RelationshipConnection" rc
ON reA."Id"= rc."RelationshipEntityAId"
AND reA."SchemaUId"='25d7c1ab-1de0-4501-b402-02e0e5a72d6e'
JOIN "RelationshipEntity" reB
ON reB."Id"= rc."RelationshipEntityBId"
AND reB."SchemaUId"='25d7c1ab-1de0-4501-b402-02e0e5a72d6e'
Firstly you need to add the columns to the view VwContactRelationship. Please deploy the application locally and create a script that will modify the view. Then add the columns to the related object. Then the columns will appear in the section wizard.
I’m trying to limit connections between two Accounts. For example, Account A can be connected to Account B in a “Branch - Managing company” relation only if those 2 accounts have the same owner.
I have tried to overwrite the Save function in AccountRelationshipDetailPageV2 and put a validation there. But for some reason it doesn't call the new function. Do you have any idea what's wrong with this approach?
Replace the BaseRelationshipDetailPageV2 schema (and not AccountRelationshipDetailPageV2). In the BaseRelationshipDetailPageV2 schema, create a validation method for the necessary fields (e.g., validateOneOwner()). This method should return an object with the invalidMessage parameter.
How do I add additional relationships to my Connected to options between accounts? I have gotten to the page- but I don't see how to add an additional relationship.
To add a custom object to the connected to of the Account you would need to add corresponding record to the EntityConnection table in db with SysEntitySchemaUid is a Uid of the Account and ColumnUId is a column uid that can be found in the SysEntitySchemaReference table. For implementing this please analyze the EntityConnection table and SysEntitySchemaReference to have an understanding of which record you need to add. For example you can execute the following script:
select SysSchema.Name, ColumnName, EntityConnection.* from EntityConnection inner join SysSchema on SysEntitySchemaUid = SysSchema.UId inner join SysEntitySchemaReference on EntityConnection.ColumnUId = SysEntitySchemaReference.ColumnUId