diff --git a/ApplicationLibCode/ProjectDataModel/WellLog/RimOsduWellLog.cpp b/ApplicationLibCode/ProjectDataModel/WellLog/RimOsduWellLog.cpp index 05f311c243..6ce834c889 100644 --- a/ApplicationLibCode/ProjectDataModel/WellLog/RimOsduWellLog.cpp +++ b/ApplicationLibCode/ProjectDataModel/WellLog/RimOsduWellLog.cpp @@ -44,6 +44,13 @@ RimOsduWellLog::RimOsduWellLog() CAF_PDM_InitFieldNoDefault( &m_wellLogId, "WellLogId", "Well Log Id" ); m_wellLogId.uiCapability()->setUiReadOnly( true ); + + // Need to save channels for Osdu well logs. + // This reverts settings from RimWellLog constructor. + m_wellLogChannels.xmlCapability()->setIOReadable( true ); + m_wellLogChannels.xmlCapability()->setIOWritable( true ); + + setDeletable( true ); } //-------------------------------------------------------------------------------------------------- diff --git a/ApplicationLibCode/ProjectDataModel/WellLog/RimOsduWellLogChannel.cpp b/ApplicationLibCode/ProjectDataModel/WellLog/RimOsduWellLogChannel.cpp index 57547819b9..032d3745cb 100644 --- a/ApplicationLibCode/ProjectDataModel/WellLog/RimOsduWellLogChannel.cpp +++ b/ApplicationLibCode/ProjectDataModel/WellLog/RimOsduWellLogChannel.cpp @@ -49,6 +49,11 @@ RimOsduWellLogChannel::RimOsduWellLogChannel() CAF_PDM_InitFieldNoDefault( &m_depthUnit, "DepthUnit", "Depth Unit" ); m_depthUnit.uiCapability()->setUiReadOnly( true ); + + // Need to save the name for Osdu well log channels. + // This reverts settings from RimWellLogChannel constructor. + nameField()->xmlCapability()->setIOReadable( true ); + nameField()->xmlCapability()->setIOWritable( true ); } //--------------------------------------------------------------------------------------------------