Quantcast
Channel: PTC Community : Popular Discussions - Integrity
Viewing all 3432 articles
Browse latest View live

How can the Modified Date field type can be changed so it will not return milliseconds?

$
0
0

Hello.

 

With one of our customers we need to have a round trip mechanism for requirements management. We receive RIF files extracted from DOORS which we import in Integrity using the PTC Requirements Interchange Format Utility 2.4.  After we complete the work we are exporting the requirements in RIF format using the same utility and send the result to the customer. When the customer tries to import the RIF that we have sent he fails in doing so.

The customer is using DOORS as a requirements management tool combined with Exeerpt 2.3 for the export to RIF format.

One suspicion from his side is that the dates in the PTC Integrity RIF exported file contains milliseconds that Exerpt can not interpret.

Is there a possibility to configure the RIF utility to export the dates up to seconds?

Thanks you for your support.

 

Gabriel


Install seat licenses

$
0
0

Hi all,

 

how we can install seat licenses for integrity?

The users of seat licenses are defined in the <Integrity Server>/config/properties/is.properties file, but where we install the seat licenses?

 

thx

Bernd

MKS Integrity - how to delete User session

$
0
0

We are still using the MKS Integrity 2009, Build 4.10.0.9665 version (Client + Web interfaces). I wanted to ask the community if they new how to delete the User history which gets stored against a User profile seperately for Web & Client.

 

Example I run a query on Web interface and close the browser. Then when I login back either same day or some other day, MKS runs last query I ran and shows me the result. How do I clear this user session.

 

One of our users tried running a very complex query and it timed out and now every time they try to open the Web MKS the page does not render.

Custom Test Result Date Fields Not Formatting

$
0
0

I have two date fields that I created for my test results: Execution Date and Execution Modified Date. When I kick them out to an html report, they do not format per the definition in the report wizard. Other date and date time fields do though. Is this a bug or am I doing something incorrectly? I can use JavaScript as a work around but I would prefer to not have to do that.

Prevent Change Packages before Item is saved

$
0
0

I want to prevent that an Item can be associated with a Change Package before the Item is saved, so Change Package -> Create... should be disabled. I first tried to make a mandatory field inaccessible when the condition !(ID>0) AND SICPCount()>0, but unfortunately this is an external information function and can't be used to limit the editability or relevance of a field. Are there any possibilities to do this beside using a trigger script?


Thanks!

Stephan Knopp


Custom keywords

$
0
0

Hi Team,

Can I use scripts to update custom keyword values or is there any way to add member property value (like member change package ID, working archive etc) as keywords.

Is there any document for creating Custom keywords ?

 

Regards,

Arun

Integration with oxygenXML Editor using Integrity

$
0
0

Hello,

We are using oxygenXML Editor 16.2 to work with xml and xslt's.

And Integrity tool for version controlling.

Now I would like to Know how we can integrate both.

 

Could you please let me know are there any existing feature available?

If not, How we can achieve this?

Please help me.

oxygenXML editor - PTC integration

$
0
0

Can we integrate oxygenXML editor with Integrity?


Using SMP and Implementer

$
0
0

Has any  anyone added SMP (Symmetric Multi Processing)   to their ISeries and ran SMP during remote promotions that included both SQL table and Index recreations , with PF and LF changes?  I am looking for both positive and negative results. 

Custom keywords

$
0
0

Hi Team,

Can I use scripts to update custom keyword values or is there any way to add member property value (like member change package ID, working archive etc) as keywords.

Is there any document for creating Custom keywords ?

 

Regards,

Arun

How can the Modified Date field type can be changed so it will not return milliseconds?

$
0
0

Hello.

 

With one of our customers we need to have a round trip mechanism for requirements management. We receive RIF files extracted from DOORS which we import in Integrity using the PTC Requirements Interchange Format Utility 2.4.  After we complete the work we are exporting the requirements in RIF format using the same utility and send the result to the customer. When the customer tries to import the RIF that we have sent he fails in doing so.

The customer is using DOORS as a requirements management tool combined with Exeerpt 2.3 for the export to RIF format.

One suspicion from his side is that the dates in the PTC Integrity RIF exported file contains milliseconds that Exerpt can not interpret.

Is there a possibility to configure the RIF utility to export the dates up to seconds?

Thanks you for your support.

 

Gabriel

How to skip Items which causing error in Schedule trigger.

$
0
0

Hi,

 

I have created the schedule trigger, which will update few fields on items given through query.

But while I ran schedule trigger. I got error as on item ID: 12345 have mandatory fields which are not filled which will abort transaction.

 

Is there any way skip such item having mandatory fields and going through other item ?

 

I have tried with adding try catch block but still its aborting by giving mention error.

 

Please suggest me.

Missing Eclipse Integrity Trim

$
0
0

Hello,

 

I have recently upgraded to the latest version of the eclipse integration of Integrity from MKS Integrity 2009 to PTC Integrity 10.6. After Installing the eclipse integration, I was expecting to see the Integrity trim in the bottom left corner of eclipse, but for some reason it is missing. What can cause this to not appear, and how can I get it to appear?

Capture.PNG

Launchanywhere-Error, when using Integrity "remotely".

$
0
0

Hi @all,

 

we're using Integrity 10.2, and this question is about the source-part of it. We've written a helper-tool (in visual basic) as an assistant for our users to help them sharing subprojects into other subprojects. Its more or less just a GUI for some commandline-operations. The first operation (of course) is to connect to an integrity-server. This ist the commandline for this:

 

si connect --hostname=<servername> --port=7001 --gui

 

In the vb-code it looks like this:

 

sCMD = "si connect --hostname=" + sServer + " --port=" + sPort + " --gui"

Shell(sCMD, AppWinStyle.Hide, True)

 

This tool ist now running since more than a year without problems. Now we have one user, which has the following problem: If he uses the helper-tool, he gets following error-message: 

 

Can't launch executable. (The Launchanywhere properties file is missing).

 

This error pops up only when using the helper-tool, not if running the commandline directly. I didnt know if its an error from Integrity, from our tool, or from windows or any other program at the computer of this special user and i have no idea where i have to search. And i cannot have direct access to this special computer. Anyone else has some idea?

 

regards, Jens

oxygenXML editor - PTC integration

$
0
0

Can we integrate oxygenXML editor with Integrity?


Custom keywords

$
0
0

Hi Team,

Can I use scripts to update custom keyword values or is there any way to add member property value (like member change package ID, working archive etc) as keywords.

Is there any document for creating Custom keywords ?

 

Regards,

Arun

Determine development path of a build-subproject using CLI

$
0
0

I need to determine the development path of a subproject that is currently configured as build. I already tried "si viewprojecthistory --rfilter=branch::current" to only focus on the current branch. When doing this in GUI, also "Development Path" and "Checkpoint Description" are being displayed for each checkpoint. But using the respective command in CLI, these fields are not being reported. Can I request this information using another si-command?

During Upgrade from MKS 2009 to PTC 10.5, I faced issues during update in database. Please refer the below screenshot. Can anyone help me on this.

$
0
0

GENERAL(5): Starting migration step from 12.101 to 12.102.

SQL(5): ALTER TABLE Issues ADD RevisionIDMajor INTEGER: 1710Ms

SQL(5): ALTER TABLE Issues ADD RevisionIDMinor INTEGER: 1407Ms

SQL(5): ALTER TABLE Issues ADD LiveItemID INTEGER: 1522Ms

SQL(5): INSERT INTO Fields (ID, CreatedDate, ModifiedDate, CreatedUser, ModifiedUser, Name, Content, DataTypeID, DataSize, Active, MultiValue, StorageFormat, Flags, PairedField, TableNumber, BackingType, BackingTextField, TextTable) VALUES(?, GETDATE(), GETDATE(), ?, ?, ?, ?, ?, ?, 1, ?, 0, ?, ?, 0, null, null, ?) [-53,null,null,'Live Item ID',<473 bytes>,0,0,false,0,0,0]: 5ms

SQL(5): INSERT INTO Fields (ID, CreatedDate, ModifiedDate, CreatedUser, ModifiedUser, Name, Content, DataTypeID, DataSize, Active, MultiValue, StorageFormat, Flags, PairedField, TableNumber, BackingType, BackingTextField, TextTable) VALUES(?, GETDATE(), GETDATE(), ?, ?, ?, ?, ?, ?, 1, ?, 0, ?, ?, 0, null, null, ?) [-54,null,null,'Major Version ID',<416 bytes>,0,0,false,0,0,0]: 21ms

SQL(5): INSERT INTO Fields (ID, CreatedDate, ModifiedDate, CreatedUser, ModifiedUser, Name, Content, DataTypeID, DataSize, Active, MultiValue, StorageFormat, Flags, PairedField, TableNumber, BackingType, BackingTextField, TextTable) VALUES(?, GETDATE(), GETDATE(), ?, ?, ?, ?, ?, ?, 1, ?, 0, ?, ?, 0, null, null, ?) [-55,null,null,'Minor Version ID',<416 bytes>,0,0,false,0,0,0]: 548Ms

SQL(5): SQLException: Cannot create a row of size 8092 which is greater than the allowable maximum row size of 8060.: error code=511, state=S1000

SQL(5): UPDATE Issues SET LiveItemID = ID: 3s135ms

GENERAL(0): java.sql.SQLException

SQL(0): SQL Rollback Total Time: 3s172ms

GENERAL(5): Done running isutil -c dbinstall for full server.

Server Performance with API

$
0
0

We are having some problems with server performance when using the API. I don't know if it's due to the way I am using the API or some settings on the server or something else. We have several tablets running Windows 8.1. On each tablet, we have an app (written in C#) which downloads project data and allows us to execute our procedures offline. If only one tablet is downloading project data (and making API calls) then things seem to work fine. Once multiple apps try to download project data at the same time, everything slows down. Sometimes, one app might stop receiving downloading all together.

 

The way the app works is that I get the list of segments in a project using the code below. Then, I loop through the returned segments and make a new API call for each one to download the nodes. There doesn't seem to be any specific type of node or node content which causes things to slow down.

 

I am working adding some things into the app for the sake of debugging it to see if I can track down specifically what causes the slowdown. Has anyone seen similar issues where API calls from multiple sources leads to server slowdowns?

 

        public List<Segment> GetProjectSegments(string Project)        {            List<Segment> allSegments = new List<Segment>();            try            {                // Get all of the approved segment types from the approvedTypes array                // and convert them to a string for the query definition.                string approveString = "(field[Type]=" + approvedSegmentTypes[0] + ")";                for (var i = 1; i < approvedSegmentTypes.Length; i++)                {                    approveString += " or (field[Type]=" + approvedSegmentTypes[i] + ")";                }                // Define the query definition and the requested fields to return.                string queryDef = "((field[Project]=" + Project + ") and (item.live) and (" + approveString + "))";                string fields = "ID,Project,Type,Assigned User,Summary,State";                Command cmd = new Command("im", "issues");                cmd.AddOption("hostname", hostServer);                cmd.AddOption("port", hostPort.ToString());                cmd.AddOption("user", userName);                cmd.AddOption("password", userPassword);                cmd.AddOption("queryDefinition", queryDef);                cmd.AddOption("fields", fields);                if (!APIFactory.IsInitialized)                    APIFactory.MKSInitialize();                IIntegrationPoint ip = APIFactory.CreateIntegrationPoint(hostServer, hostPort, false, 4, 13);                ISession s = ip.CreateSession(userName, userPassword);                ICmdRunner cr = s.CreateCmdRunner();                IResponse r = cr.Execute(cmd);                foreach (WorkItem w in r.WorkItems)                {                                       int f0 = (int)w.Fields["ID"].Value;                    var fi1 = (MKS.ManagedAPI.Item)w.Fields["Project"].Value;                    string f1 = (fi1 == null ? string.Empty : fi1.Id);                    var fi2 = (MKS.ManagedAPI.Item)w.Fields["Type"].Value;                    string f2 = (fi2 == null ? string.Empty : fi2.Id);                    string f3 = w.Fields["Summary"].Value.ToString();                    var fi4 = (MKS.ManagedAPI.Item)w.Fields["State"].Value;                    string f4 = (fi4 == null ? string.Empty : fi4.Id);                    var fi5 = (MKS.ManagedAPI.Item)w.Fields["Assigned User"].Value;                    string f5 = (fi5 == null ? string.Empty : fi5.Id);                    allSegments.Add(new Segment                    {                        UId = f0,                        ProjectName = f1,                        ItemType = f2,                        Summary = f3,                        State = f4,                        AssignedUser = f5                    });                }                cr.Dispose();                s.Dispose();                ip.Dispose();            }            catch (APIException e)            {                throw e;            }            finally            {                //APIFactory.Instance.Shutdown();            }            return allSegments;        }

Determine the last used change package using CLI

$
0
0

Is it possible to determine the last used change package using the command line interface (si...)?

 

Using "si viewcps" only lists the currently open change packages but doesn't give a hint which one has been used recently.

 

The information itself must be stored somewhere because for example if I configure a subproject using CLI and a change package, also this change package gets preselected the next time I use the Integrity-GUI.

 

Thank you for your help!

 

Addendum: The person that posted this message used my email address to create his account on this community. I'm not very happy about it, so I've changed his account's password and hope that does not use my again in future. Additionally, I hope that PTC starts verifying email addresses before letting people create accounts.

 

Message was edited by: The owner of the email address.

Viewing all 3432 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>