Generic Smallworld Office Information
Table of Contents

Editors

Soft Joins

Soft Joins appear to be similar to Related Items in PNI. They can related objects together outside of the standard Data Model Join technology. To add your own to the list you need to add a property_list to the cs_soft_joins shared variable rope. This is an example.

    gd_pipe.cs_soft_joins.add_last(
        property_list.new_with(
            :join_name,gd_pipe.message(:fcsi_leak_surveys),
            :join_method_name,:fcsi_leak_surveys,
            :join_table,:fcsi_leak_survey,
            :join_table_dataset,:field_collection,
            :join_attach_method_name,_unset,
            :join_detach_method_name,_unset))

You will also need to add a :fcsi_leak_surveys message to the cs_data_model message handler

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License