File properties Clashing with SharePoint properties

Pioneer
Pioneer

Hi,

 

We have migrated our old Solid Edge files from our file server to an Insight managed environment.

 

Some of our properties were defined as Yes/No custom properties before the insight migration.

We have changes those fields to text fields in our SharePoint document libraries as well as on the propseed file.

 

We can enter text values when we checkin the file on the property manager but the values are not saved.

 

The only workaround I found is ton enter the file properties menu and delete the custom property.

 

Is there a way to mass delete the custom properties from all of our Solid Edge files?

 

Has anyone encountered this?

 

Thanks,

Ori

 

5 REPLIES

Re: File properties Clashing with SharePoint properties

Genius
Genius

We had a problem a few releases ago where we had 2 extra custom properties that were conficting with the standard SE Mandatory Properties.  I had a VB macro that deleted the properties while I was in the file and also GTAC sent me a add-in that automatically deleted the custom properties upon opening, but there was no mass Property Delete procedure.

 

Dale Smith

Mitsubishi Electric Power Products, Inc.

Dale Smith
Mitsubishi Electric Power Products, Inc.
ST9 MP5 - Insight

Re: File properties Clashing with SharePoint properties

Pioneer
Pioneer

Hi Dale,

 

Do you have the IR number you opened?

 

Thanks,
Ori

Re: File properties Clashing with SharePoint properties

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

Hi,

you could try the PropertyRemapper program:

http://barhamsoftware.com/SE_Tools/index.htm

Read the doc how to change the configuration file for your needs.

 

It is not updated since 2006 but should work with the current Solid Edge version. I did not use it for some time , so make a test with some sample files before applying to your files!

regards

JB
VS2015, SE ST10

Re: File properties Clashing with SharePoint properties

Genius
Genius

The call number was 6504825.  It was back in 2011.  IR converted to a PR then fixed in an MP

 

Here is the old VB code used to clean-up the extra properties.  It will need to be re-done in Virtual Studio.

 

Private Sub Form_Load()
  'Hook to Solid Edge
  Set SEApp = GetObject(, "SolidEdge.Application")
  Set SEDoc = SEApp.ActiveDocument
  Set objPropSets = SEDoc.Properties
  Set objCustomInfo = objPropSets("custom")
   
  i = 0
    
   If objCustomInfo.Count > 0 Then
     For Each objProp In objCustomInfo
       If (objProp.Name = "Subject0") Then
          objPropSets.Item("custom").Item("Subject0").Delete
          i = 1
      ElseIf (objProp.Name = "Keywords0") Then
          objPropSets.Item("custom").Item("Keywords0").Delete
          i = 1
      End If
     Next
     Set objProp = Nothing
  End If
 
  If i = 0 Then 'found
    MsgBox "No Insight Properties found", , "Insight"
    'Exiting
    Set objProp = Nothing
    Set objCustomInfo = Nothing
    Set objPropSets = Nothing
    Set SEDoc = Nothing
    Set SEApp = Nothing
    End
  End If
   
End Sub

 

Hope this helps,

Dale Smith

Dale Smith
Mitsubishi Electric Power Products, Inc.
ST9 MP5 - Insight

Re: File properties Clashing with SharePoint properties

Pioneer
Pioneer

Hi,

 

The Property Remapper worked great!

 

Thanks!

Ori