29 October 2015

DIXF refresh target entity mapping

If you need to update all target mappings in one go, the following job will help you :)


static void DIXFRefreshTargetEntityMap(Args _args)
{
    DMFEntity   entity;

    if (Box::yesNo('Are you sure you want to update all target mappings?'
                 DialogButton::No) == DialogButton::Yes)
    {
        while select entity
        {
            DMFTargetXMLToEntityMap::generateMapping(entity, true);
        }

        info('done');
    }
}

No comments: