Do you have the internal name of the IBA added to SearchableAttributesByType.properties in codebase/com/ptc/windchill/enterprise/search/server? This is how you tell Solr to index that field.
Re: Leading wildcards in global search *???
Re: Leading wildcards in global search *???
Binesh,
So this is working to specification and the only way to change its function is to add all internal names to the SearchableAttributesByType.properties? If that is the case I'll leave the system as is....we have WAY too many IBAs to make it worth it. We have been running WC for 5 years now and this is the first time it has come up.
Thanks,
Greg
Re: Leading wildcards in global search *???
Hello Greg,
Unfortunately yes, after you add this, you will have to re-index all the data. Its a pain. I went through this once. https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS158084
Thanks
Binesh
Email notification for Context team modification
Is there anyway I can setup a notification whenever a context team is modified? I want to setup a notfication to alert the administrator whenever someone add/removes principal to Context team. I tried the notification on contextteam from policy administrator, this did not work.
Can I save files to my computer instead of my workspace?
I'm a brand new Windchill user, so I'm still figuring out a lot of things. In particular, is there a way to still save files to my computer instead of to my workspace? I have an assembly saved to my computer, and I edited it a bit today, and now it won't update the file on my computer, it only saves the revision to my workspace.
Re: Can I save files to my computer instead of my workspace?
I think you need to use save a back from save as to save to your computer
Re: Can I save files to my computer instead of my workspace?
WHY are you trying to save to your computer when you have Windchill?
Windchill should be the main repository of all your CAD work.
You can do a Save As - Backup and select a local location. but that can also lead to issues if you open that assembly from the local location in the future.
Saving the active work to a local location would get my users the Broken Finger award for going against company best practices.
Can Type Part contain Type Model?
I started a Master Assy using Type Part. I think we are going to use what we call Family Models in the EBOM which will equivalent link to Models located in the MBOM. Can Type Part be the parent to Type Model?
Highest Level Type=Part
|
----------------------------------------
| |
Type=Model Type=Model
Model 1 Model 2
Use of Windchill Projects and the Defence Module (CDRL/SDRL)
Hi All
I am looking for some advice on best practice in terms of the use of Windchill Projects and the interaction with Packages. We are using the tool within a complex environment of who is able to access what data.
From what i can tell there are two ways to make a document visible in a Project
- In the Product/Library, open the items and use "Send to Project"
- Within the Project, Create a Package (CDRL) and and relate the document (in Product/Library - Has not been shared) to the package.
Both options appear to work and will provide Project participants access to file that they can not normally see. My biggest concern with option 2 is that you can not see from the document record, the projects it has been shared to.
What do other users see as the advantages or disadvantages of both approaches.
Thanks for this
Shane
Re: pdm Essentials -I want to change a part in an assembly with an existing in Commonspace(windchill cabinets)
thanks for the reply
Re: Can Type Part contain Type Model?
Hello
yes no problem to do that
Report Builder - Issue with outer joins. How to remove errant rows?
I have a report that is returning WTDocuments, Derived Images and Application Data related to that Derived Image. So report shows all WTDocuments. If there is a derived image linked to that WTDoc, report its ID and report the application data that is link to that Derived Image. What should return is three IDs and in cases where there is not a derived image for the WTDoc, those columns would be empty. This is a classic SQL outer join case. What I am getting in cases where there is a derived image and application data, is a row that shows the document and the derived image but application data is null followed by another row were all three are filled in. How can I eliminate the prior case where application data is null?
Above you can see the objects and outer joins. I have derived image outer joined to document and application data outer joined to derived image. I have tried it multiple ways and it seems to only show records where all three exist. Not what I was looking for.
Above is the object joins. Derived Image is referenced to Document and Derived Image is liked to application data via Holder To Content. I have some other selects since I am looking for a particular role for Derived Image and Application data but that should not be the issue.
Above is my selects where I am reporting the IDs and other data. Here is the result below:
Notice the duplicate roles. Green is what I was looking for but I am getting these extra rows. I confirmed this is the case in TOAD. I am sure if I coded this by hand in SQL, I could eliminate this but Report Manager is somewhat limited. Any advice to rework this query and eliminate the non-green rows?
Re: Report Builder - Issue with outer joins. How to remove errant rows?
I used the exact same approach and was unsuccessful using outer joins. Still puzzled why this doesn't work.
I created a report to find all drawings that are not published (have no derived image). Should work with outer join but doesn't. Works by using a criteria of the EPMDoc oid NOT IN Sub-Select Derived Image (the CAD Doc ida2a2 is not in the DERIVEDIMAGE representable reference table).
Seems that there a lot of cases NOT IN as a criteria has to be used instead of outer join.
Re: How to download EPMDocument content using SQL expression or Windchill API
HI Aniket,
Which content you want to download, Primary or seconday ??
Re: A query that will list all WTParts in the system along with the folder they are stored in
Hi Chinmay, Thank you for the QML report. I have the similar report. Could you let me know if we can export the similar data from SQL Server/Oracle by using queries.
Re: Report Builder - Issue with outer joins. How to remove errant rows?
Agreed, NOT IN also might not be very efficient. I know that QML has some different options when viewing the code than when done though the GUI. Perhaps there might be a way if I look at writing in the XML format.
Re: How to download EPMDocument content using SQL expression or Windchill API
Not through SQL Expressions. you can use ContentHelper.service.getContentsByRole(holdertocontent, ContentRoleType.PRIMARY) or ContentHelper.service.getContentsByRole(holder, ContentRoleType.SECONDARY) depending on the type of attachment
Re: A query that will list all WTParts in the system along with the folder they are stored in
I spent some time a while back on an SQL, i think a PL/SQL procedure would be the best way to go.
This is what you have to do
- Connect WTPartMaster to Control branch, with wtpartmaster.ida2a2=controlbranch.ida3b5 and get ControlBranch's ida2a2
- Connect Controlbranch's ida2a2 to iterfoldermemberlink's branchida3b5 and get iterfoldermemberlink's ida3a5
- Connect iterfoldermemberlink's ida3a5 to subfolder's ida2a2, this will give you the name of the subfolder where the part is in.
Then to handle recursive folders
- You need to write a recursive hierarchical query on SUBFOLDERLINK, ida3a5 left join on ida3b5, this will give you parent child relationship for recursive subfolders.
This is what I have in my notes, I remember putting together a procedure, If I am able to find it I will post it here.
Open PDF NOT in Creo View from Windchill
Is there any way to open PDF's directly into a PDF viewer (like Adobe/Acrobat Reader) instead of Creo View when using the Windchill search results? Creo View opens the PDF with Acrobat Reader embedded within Creo View which has caused software compatibility issues as Acrobat Reader continues to be updated. Then we're left updating Creo View to work with the latest until Acrobat Reader gets updated again. This has happened twice in the last year and packaging software through our IT can take several weeks/months. I'd like to get out of the annoying compatibility cycle and just open the PDF directly without Creo View. I have seen no advantage to opening PDF's in Creo View yet with disadvantages including having less screen space to view the drawing and software compatibility issues. Creo View works pretty well for 3D but has no real use when looking at PDFs.
We're using Windchill 10.1 M040 currently but are hoping to go to Windchill 11 later this year if there's a solution in a later version of Windchill.
MVC Table customization
I have created one custom table in details page of Document.
The data in table must be as follows-
1. 1st column should fetch the values of multi-valued attribute of the Document. This values should be displayed in different Rows one by one. Please refer the image
2. 2nd column must contains 2 actions for adding documents (insert new and insert existing action)
3. 3rd will have the reference documents added but these must be comma separated and must have infopage link