Recently active
I have an Integer field created (Integer_fld) and would like to create a trigger that checks for duplicate values for previous created items items.I tried a script from a previous discussion, but could not make it work. I thought I would start a new discussion for this.EXAMPLE:List of ItemsID State Integer_fld Txt_fld100 Initiate 10023 Some text here...101 Initiate 10024 Some more text here...I create a new Item ID 102 and for the Integer_fld I enter 10023. When I try to save it I would like to see an error message stating it is a duplicate. ID 100 has the same value in the Integer_fld.Thank you,Dan
Does anyone know how I can insert a page break into a Report?I created a report using the "Basic - HTML, Column, One Grouping Totals" template. I want to prevent the groups from breaking onto another page because some of the data does not display or gets cut off.Thank you,Dan
When I double-clock to view/edit a source file (ex: .cs) in PTC Integrity, it launches notepad.Notepad does not show line numbers; so, I would like to change this,I have not been able to find wher to change this.Thanks,Mark
Has anyone accidentally created a request to the wrong environment and it passes compile but sits stuck in Move-Pend. Now I have no option to delete or cancel and I cannot recheck out the objects because it is assocciated with a pending request.Any solution to this is it a bug? Not finding any answers....
Is there an API, or easy method, to get the numeric value associated with the string value of a Pick Field?
Hello,My item has kind of composit primary key. Combination of 4 fields make my Item unique. Somehow duplicate checking functionality offered by Integrity is not helpful or not working for me.I created Unique Name field, and populated this field via pre-triggers. Now before I commit this item, I would like to check uniqueness of this calculated string but I do not find any direct call to get items based on string value. Neither the query is allowing to dynamically substitute parameter and execute.What would be best suggession or solution in this case for duplicate checking?Thanks for reading my post,RegardsAdhik
Hi,I want to know about suspect flag functionality provided for relationship fields.basically i want to know can we set/decide when suspect flag shoud be set on related item? if yes from where we can customise this ?
Hi,I am wondering about how is the best way to make a document review in integrity.Our first idea was to use the change request and change order mechanism, but it seems to complex for this task.Now we are thinking to use to comment fields for every item, one to describe the findings, the other to describe the decision.After the revision we baseline (or check in??) the document. Both comment fields should be deleted with a script (to be written) for the next review.Is there any other way to make reviews on a simple manner?btw.: in 10.5 exists a new function called Create Review Session. Is somebody using this? How it works? On every documenttype I receive a message (attachement)Thanks a lot for your hints,Bernd
I'm hoping that this has been done 1000's of times and someone has an example to share.I need to parse the response from a JavaAPI call from a trigger script.Example:var cmd = new Packages.com.mks.api.Command("im","issues");cmd.addOption(new Packages.com.mks.api.Option("queryDefinition", queryDefinition));var response = api.executeCmdAs(currentUser, cmd);
Currently there is no supported feature to copy multiple test sessions. Is there a workaround for this, perhaps a trigger a custom user action I could develop? Any ideas would be appreciated. Specifically, I'd like to select multiple test sessions and copy them with the same or default fields (doesn't really matter, will be batch edited later).
If I run this command in mksAPIViewer, I get an exception. If i just run the simple CLI it works fine. Any idea how I can troubleshoot this? Is it a server configuration thing? I've removed the hostname from the string.mksAPIViewer Command:.\mksAPIViewer.exe --iphostname=<address> --ipport=7001 --namedsession --sessionuser=user --sessionpassword=pass im reportsResponse: App. Name = im Command Name = reports APIException: Class = CommandCancelledException Message = Field: Name = exception-name Data Type = wchar_t * Value = common.CommandCancelled Exit Code = 2I can run si about and that will execute just fine in the mksAPIViewer. Also, if I just run si reports (not using mksAPIViewer) it'll return the reports without any problem.
Hi,I was trying to Apply Change Package on a Variant Subproject - but getting error saying "development path NOT FOUND"(command is searching for development path in main project instead of subproject)Could you help to resolve this.Regards,Arun
I would like to start looking into integrating the API into some software I'm working on. Basically I am hoping someone can help me with using the sample code at https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS161216. When I try to include mksapi.dll as a reference in my project, I get an error "A reference to 'mksapi.dll' could not be added." I don't have the Visual Studio integration setup but I was under the impression (maybe incorrectly) that this wouldn't be required. Has anyone encountered this before and found a solution?
Hello everyone, i wrote an Java EE web-application that communicates via the Java API with our Intergrity-Server. This Application works on my locale JBoss or Tomcat Server fine. Now i want to put this application on our Integrity-server, but i do not know how that works. I searched in the installation path of the integrity server, there i found many .war-files. I also tried some paths, but noone works. I hope i get help here. Thanks in advance. Best regards
I'm wondering if anyone has found a way to include the JSON parser in trigger scripts... Or maybe if Integrity already has a method of including the JSON parser in trigger scripts.I've included different versions of the source for JSON in scripts and they are thrown out by the compiler for reasons unknown.
Hello,I created a table with primary key constraint then I added 2 foreign key constraints, but we changed our naming convention and I wanted to update one of the constraint names but when I promote the script it tells me it failed because constraint 1 was already created.When I add or change constraints do I need to update the source with Drop commands? or comment out previous commands? what is supposed to be the technique for managing the source for constraints on a table?
There are two nodes in a document that say they are locked. How can I unlock these? After a certain amount of time does the lock expire?
Quick question...I think.I'm working on a report. Do I have to copy the report to account for each possible level of indentation (i.e. 1.1 vs 1.1.1.1)? Copy and pasting is working fine it's just a lot of work. Is there a simpler way to basically search out what level the content is at and then use that for RelationshipL2?Thanks!
I would like to create a field that returns a concatenated value. In this, I want part of it to be a parameter (i.e. {{parameter name}}). When I try to do this, the parameter never converts over from the parameter string to the actual value. Is it possible to do something like this? Or can calculated values not include parameters?
Hello,I am new to the Integrity, I need an help to configure the Email settings in the Integrity which is hosted in the Linux server. ports are already opened and could able to send the emails to the internet from the server, now i need to know how to setup the email settings in the Integrity application to send the notifications.RegardsSathish G
Hello,I have created a table in production with a primary key constraint.I want to add a foreign key constraint.I use a source member that gets moved and then RUNSQLSTM with a special command that adds the constraint to the file.normally with a table change we promote the table but if it is just a constraint change, we dont just move the constraint? How do we move a constraint into production if there is no object to move?What are the steps?When we promote a table change we create/recreate the table in our staging area and move it into the production area. What do you move when it is just a new constraint?
Hi, I am updating an Item using java program but getting "null" response.Please help me with below code. Command cmd = new Command(); cmd.setApp(Command.IM); cmd.setCommandName("editissue"); cmd.addOption(new Option("field", "\"" + value + "\"")); cmd.addSelection(issueId); CmdRunner cr = getPTCDataSource(); Response response = cr.execute(cmd); Result result = response.getResult(); It throws "CommandException" saying CommandException(null).Generated query from the code: im editissue --field="Discussion=API Testing" -- 1234Please assist.Thanks,Gajanan.
Is it me or does it seem like since the acquistion of MKS by PTC the support for MKS or quality of support has gone from 5 star to 1 star.
I'm getting the following message:Communication to remote system failed with a return code of 530.Where do I find a listing of what the return code means?
Hi,We have a couple of cases where we need to change an email address for users in our staging/production environment. Currently, the email field is only editable in items in the MKS Domain. User objects under Workflows and Documents do not allow the email addresses to be edited.We have both 'MKS Domai'n and LDAP users where we need to change, or clear-out, the current email addresses.Please advise.-Sean
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.