I recently posted an article on our CATI Tech Notes Forum that is certainly relevant to InFlow's customers and fans (we are huge in Lisbon).
http://blog.cati.com/2012/02/driveworks-integration-with-solidworks-enterprise-epdm.html
« January 2012 | Main | March 2012 »
I recently posted an article on our CATI Tech Notes Forum that is certainly relevant to InFlow's customers and fans (we are huge in Lisbon).
http://blog.cati.com/2012/02/driveworks-integration-with-solidworks-enterprise-epdm.html
Posted at 12:08 PM in Inflow - DriveWorks Information, Inflow - SolidWorks Enterprise PDM Information | Permalink | Comments (0) | TrackBack (0)
One of the most common practices, yet least documented, capabilities of SolidWorks PDM Enterprise is the ability to link a wide variety of documents to variable values defined in your company's customized data cards. Considering the lack of information on how to thoroughly do so with Microsoft Office documents such as Microsoft Word or Microsoft Excel, I have decided post this step-by-step process of automatically linking your properties inside of Microsoft Word and Microsoft Excel to the data cards that control them.
Microsoft Excel Document:
Here is a simple layout of how the linking process works with an Excel document. The process is almost identical when linking an EPDM variable to a Word document.
To get a good understanding on how this process works, I will be linking a variable to an Excel document from scratch.
Step 1)
The first step is to know or create the variable that is going to be used on the card. I'll just create one. Open your administration tool. Log in to the appropriate vault. Right click on "Variables" and choose "New Variable…".
Once you've chosen to create a new variable, you will have to;
Step 2)
Once your new variable is set up, it must be on the appropriate file card. If you are using office files for multiple reasons (sales information, ECO/ECN/ECR processes, vendor information, etc.) then you need to make sure the variable is inside the appropriate file card that gets assigned to those documents. So let's go through and add this variable to a file card. I opened up a generic Office file card that's attached to Excel and Word documents and just swapped out the "Subject" variable for my awesome variable to save a little time. Save the card and it's good to go!
Step 3)
Create or open the Excel document from the PDM Enterprise vault. Since I'm doing this from scratch I'll create a new one. Once the sheet is in the vault, open it up. Click on the cell that you would like the property to appear in and rename it. The cell name must be unique to the sheet and cannot contain any spaces. Select the cell, select the name box, type the new cell name and hit enter. What was cell A1 is now "AwesomeCell".
We will now create the custom property and link it to a cell. In Office 2007 you need to go to your Office drop down menu, choose "Prepare" and "Properties". Office 2010 will be File > Properties > Advanced Properties.
2007
2010
Once "Properties" is selected a tool ribbon will pop up. Click on the "Document Properties" drop down box and choose "Advanced Properties".
When the sheet properties window pops up, click on the far right tab called "Custom". This is where you control all of the sheets custom properties. In the first name box, type the name of your new custom property (This will be the variables attribute name, remember!). Next, click on the "Link to content" checkbox. This checkbox is only active if you have named cells in your sheet. You can access these named cells by clicking on the small dropdown arrow to the left of the checkbox. Choose the cell that we added a name to, then click the "Add" button at the top right. (Mine says "Modify" because I've already added it). Click the OK button, save and close your Excel sheet and we're ready to test it out!
Step 4)
Here are screen shots of my Awesome Excel Sheet file card and cell information before I add any values.
Go to the file card preview in your vault, make sure the file is checked out and add a value to your new variable. Then save it and open your Excel sheet. The value that was added to the card is now in the cell!
This is a two way street so if you update the cell value in the Excel sheet, it will update the value in the file card as well. Change the value in the cell, save and close the sheet and check the file card again. If need be, make sure you set your read only permissions as needed either in the file card or in the cell.
And that's how you can link your PDM Enterprise file card variables and values to an Excel sheet! Now let's take a look at linking your variables to a Microsoft Word document.
Microsoft Word Document:
Step 1)
*See Step 1 for a Microsoft Excel Document*
Step 2)
*See Step 2 for a Microsoft Excel Document*
Step 3)
Create or open your Word document in the EPDM vault. Since I'm starting from scratch, I'll create a new one. Once the document is in the vault, open it up. A word document does require just a few more steps for everything to work seamlessly together considering there are no cells. Instead, Word uses fields to bring in the properties. Also, the fields inside of a word document do not update automatically like they do in Excel but we'll fix that a little later. For now, open up your Word document and let's add a field. In Office 2007 you need to go to your Office drop down menu, choose "Prepare" and "Properties".
Once "Properties" is selected a tool ribbon will pop up. Click on the "Document Properties" drop down box and choose "Advanced Properties".
When the sheet properties window pops up, click on the far right tab called "Custom". This is where you control all of the sheets custom properties. In the first name box, type the name of your new custom property (This will be the variables attribute name, remember!). Since the attribute on the variable that I created for the Excel document also had Word document extensions, I will continue to use that same variable and attribute. (Variable: Awesome Variable, Attribute: AVar Custom Property). See Step 1 if you need to create a new attribute for that variable so it can be used in Microsoft Word documents. Once the custom property is created, give it any value for now and click the "Add" button at the top right. (Mine says "Modify" because I've already added it). Click the OK button. Next we'll add a field on the sheet to show the property value.
Make sure that your cursor is in the location where you would like this field to be added. Click on the "Insert" tab in the Word document. Then click on the "Quick Parts" drop down button and select "Field".
For the field name choose "DocProperty" and for the property choose the one that you just created. Click "OK" in the bottom right corner.
Now you should have the value of your custom property in your Word document! You are able to edit the text inside of that field but it will not push that back to the custom property value or to the file data card in PDM Enterprise. To make sure that the data card, custom property value and text are always matching make sure that you make any changes only on the data card or to the property value in Word.
Step 4)
Save and close your Microsoft Word document. If you look at the file data card for this word document, you will see that the variable in the card has now updated to match the custom property value in the word document.
Let's modify this inside the file data card and see how it updates inside of the document. Change the value inside of the file data card preview. Then click "Save" in the card preview.
Now open up the Word document. You'll notice that the field did not actually update. Why the heck not!? Well, unfortunately Microsoft Word doesn't work as well as Microsoft Excel does but we can fix that. If you check your custom property in the word document, you'll see that the value actually did update, it just wasn't pushed to the text in the document.
Click "OK" if the Word Document Properties is open. For the time being, manually update the text by right clicking on the text in the document and choosing "Update Field".
Now the text will update to what its field value actually is!
Step 5)
Considering that most documents will have more than one field, it's not very efficient to have to go through and manually update every single field. We can add some simple macro coding inside of Microsoft Word to make sure that all of the fields update whenever you open the document. Click on the "Developer" tab and select "Macros".
When the macro window opens type "AutoOpen" as the new macro name, then click on the "Create" button. By giving this macro the name "AutoOpen" it will automatically run whenever a file is opened.
When the Visual Basic window opens, there will be a little bit of starter code already in there. Delete all of it and copy and paste this code in it's place.
Sub AutoOpen()
'
' AutoOpen Macro
'
'
Dim aStory As Range
Dim aField As Field
For Each aStory In ActiveDocument.StoryRanges
For Each aField In aStory.Fields
aField.Update
Next aField
Next aStory
End Sub
Click "Save" and close out the Visual Basic window. Now save and close your Word document and we'll see if the code works. Modify the variable value in your file data card again. Then click the save button at the top right.
Now open up the Word document and your fields in the text should update themselves automatically!
This works if you only have fields in the text body. If you have fields in headers and footers, or if you have fields inside text boxes inside those headers and footers, use the following code.
Sub AutoOpen()
'
' AutoOpen Macro
'
'
Dim aStory As Range
Dim aField As Field
Dim aSection As Section
Dim aHeaderFooter As HeaderFooter
Dim shp As Shape
For Each aStory In ActiveDocument.StoryRanges
For Each aField In aStory.Fields
aField.Update
Next aField
Next aStory
For Each aSection In ActiveDocument.Sections
For Each aHeaderFooter In aSection.Headers
Set aStory = aHeaderFooter.Range
For Each aField In aStory.Fields
aField.Update
Next aField
For Each shp In aStory.ShapeRange
With shp.TextFrame
If .HasText Then
.TextRange.Fields.Update
End If
End With
Next
Next aHeaderFooter
For Each aHeaderFooter In aSection.Footers
Set aStory = aHeaderFooter.Range
For Each aField In aStory.Fields
aField.Update
Next aField
For Each shp In aStory.ShapeRange
With shp.TextFrame
If .HasText Then
.TextRange.Fields.Update
End If
End With
Next
Next aHeaderFooter
Next aSection
End Sub
Using Linked Values with Project Folders or Folder Templates:
If you have an Excel or Word file outside of your vault that was created and setup to link to PDM Enterprise variables like we just did, you may see some strange behavior when you add that file to the EPDM vault. By default whenever a document with properties is added to the vault, the file data card will populate it's values based on what is already in the document. For instance, if you create an Excel or Word document outside of the vault that has a property called "Customer Name" and give it a value of "Unknown", when you add that file to the vault the value in it's data card will be "Unknown" if that variable is in the card.
This result is probably what you are looking for but it can cause some problems if you have a folder data card or template set up to populate a file data card. For example, this file was imported into a "Force Attribute Testing" folder. The folder itself has a data card that contains the Customer, Project Name and Project Number and I would rather have the folder data card decide what the Customer Name is rather than what is already in the imported document.
Method 1)
The first method is to manually update the folder card values to the file card values. Select the folder that the problematic files are located in then select the "Modify" drop down list. Now select "Update" and "Values in files...".
This will take you through a tool that will let you choose what variables you would like to update and which files will be updated.
Once the tool has finished running you will see that the variable value inside of the file data card has now been changed to match the variable value inside of the folder data card.
If you open up this Word document, you will see that the field has been updated from "Unknown" to "Awesome Customer" just like it shows in the file data card.
Method 2)
The second method is to automatically have it rewrite any variable values inside of the data card when you import a document. To do this, go into your PDM Enterprise Administration tool by clicking the "Tools" drop down list and selecting "EPDM Administration".
Then browse to the appropriate card for your Office documents. I only have one for all of my Microsoft Office documents in this vault. Open up the file data card and select the variable that you would like to re-write when a file is imported. Then select "Default Overwrites".
Save and close the card editor. Now whenever a file is imported into the vault, the value that was in the document is replaced. The folder data card variable value is pushed to the file card variable value which then pushes to the document's custom property value!
If you would like to know how to push a file data card variable up to a folder data card variable, please see here; InFlow Technology: Automatically updating folder properties in SolidWorks Enterprise PDM
Posted at 11:28 AM | Permalink | Comments (0) | TrackBack (0)
What information should be provided when submitting a support call to InFlow Technology, and what are the best practices for describing a question when reporting an issue.
Let's first tackle the obvious question: How do you contact the InFlow Support Team?
Call (888) 285-2284 or E-mail your issues to: support@inflow-tech.com or log into the INFLOW / CATI support portal: www.inflow-tech.com
If you choose to Login to the Support Portal, you will then be redirected to the CATI Support Portal where INFLOW and CATI share this capability. You will be asked to login.
If you do not have a log in, you can easily request one, and you will be provided a login.
Now that you have determined a method of contacting InFlow, effectively submit your issue.
THE SUBJECT LINE OF YOUR SUPPORT ISSUE:
Although it might seem unreasonable or silly for some, composing a good informative subject line for the issue will make sure that the most qualified person, someone that is specifically trained in the area is helping you with your issue.
An Example of a bad Subject line: "EPDM issues"
On the other hand a short, an informative subject line like this one will give enough information for the issue to be assigned to a support engineer specializing in Installation Issues: "SolidWorks EPDM 2012 SP1 installation fails with error 1603 on Dell M90 laptop with Windows 7." Skilled members can tell, at a glance, what problem you're having, on what product version, and perhaps even the reason for your problem.
THE SUBJECT BODY OF YOUR SUPPORT ISSUE:
When asking questions it is vital to format the question and its content in a proper way in order to greatly increase the possibility for a prompt resolution, thus saving you time and frustration.
You know you have not provided enough information when you receive the following response after submitting a support request: "Your question does not contain all the required information needed for us to reproduce or research the issue and help you". At this point, we may request that you clarify the question or re-submit your question following the guidelines listed below.
THE QUESTION:
Know how to ask the question, and provide all the necessary information in your initial contact. For example, a question like: "Please help me, I cannot log into the Vault" will typically receive the same sort of answers that this blog tries to teach you how to avoid. The support engineer would need to ask for more information, which in turn will cause you to come back and explain yourself, thus lengthening the answering process. Good examples of questions will include information from most of the following list:
DURING THE SUPPORT CALL:
InFlow, similarly to the CATI support team, will use email, telephone and even WebEx sessions to effectively communicate additional questions and solution suggestions. It will also be acceptable to reply directly to the sender of communications, but please remember, based upon skill sets and consulting projects, you may have several InFlow Team members assist with your issue depending upon the complexity.
FOLLOW-UP:
Once a solution suggestion has been provided, please follow up with a brief email or call notifying the InFlow Team we can close the call.
If there is a lapse in communication, the Inflow Team may contact you requesting a response, or explain that the call will be closed after a predetermined time frame.
InFlow would like to thank everyone in advance for following these guidelines to help make your support experience enjoyable, productive and most importantly, resolved.
Posted at 08:04 AM | Permalink | Comments (0) | TrackBack (0)
Ever wonder how to change the way you log in to ePDM? Well follow this QuickTip and learn how to log in as a different user for the times that you need a new identity or super user rights.
Logging in to ePDM is something we don't often think about - until we need to troubleshoot or test new functionality. We might even need to log in as Admin to delete pesky files or force a check-in when a user is away.
If you want to change this for individual installations, you can manage the login from their machine. Using the admin tool, go to local settings and toggle the automatic login settings. Clear the "Use automatic login for this vault" and you can enter different credentials. (this assumes you have windows login configured)
If you want to set it globally, You can do so from the PDM archive server. Launch the Archive Server Configuration Tool, navigate to your vault, RMB and select properties. Switch to the login tab and toggle the settings. Select windows login and uncheck the automatic login. (this also assumes you have windows login configured)
FYI - changing the log globally will override all local login settings.
Next time you need to work some "Admin magic" you can use this QuickTip to get the rights you need to test or fix issues on your Enterprise PDM system.
~Inflow Support Team
800-875-3009
Posted at 09:50 AM in Inflow - PDM/PLM Theory, Inflow - SolidWorks Enterprise PDM Information | Permalink | Comments (1) | TrackBack (0)
Technorati Tags: admin, administration, enterprise, ePDM, Log in, Log-in, Login, QuickTips
The ePDM notification system is a key component to keeping your processes flowing. So what can you do to get the floodgates open when pipe gets plugged? Follow this QuickTip to get back in business.
Restart the Service. The notification system relies on the PDM database to manage who gets what, when. When these databases are moved, freshly installed, or inundated with messages (500+ at one time) the e-mails can stop sending and cause a backlog of to-be-sent messages. Essentially, the messages missed the starting gun and need to be restarted. The service in question is the "SolidWorks Enterprise PDM Database Server" service.
This is accessed from the services console on the network database server. If this makes sense, go for it. If not, let your network IT professional know that the service needs restarting. Users will not be able to add data to the database during the restart. This normally only takes seconds to preform. The emails should send immidiatly after the service is back online.
If this does not get those emails out, please call the support hotline for immediate service, 800-875-3009. Mention solution S-055425 to your support tech so they can get you up and running, quick.
Sometimes when e-mail stops flowing, it can seem like a blessing. But when those messages are your notifications from your ePDM system, you could miss critical information on your most important projects. Try this QuickTip first and keep the INformation FLOWing.
~Inflow Support Team
Posted at 09:24 AM in Inflow - SolidWorks Enterprise PDM Information | Permalink | Comments (0) | TrackBack (0)
Technorati Tags: enterprise, ePDM, inflow, messages, notifications, PDM, service
Recent Comments