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

Ignore folders from current project/repository

$
0
0

Hi,

I am new to PTC Integrity Source Control.

Am used to Git/Svn, wherein I can specify an ignore file to ignore specific files/folders providing a pattern.

In my current project there are some files which are already checked in and as a part of restrucring, I want to ignore specific folders (obj, bin folders of a Visual Studio project). I am unable to figure out how to do it.

I tried the Sandbox -> View -> Non Member, but unable to see any items listed there.

 

Can anyone guide me as to how to ignore folders from an existing repository?

Thanks,

Chandu


Traceability between PTC Integrity and Enterprise Architect

$
0
0

Hi,

 

we want to create a connection between Integrity Items from PTC and packages/ elements from Enterprise Architect. Both tools have IDs with which they can be identified clearly. In the forum I read that there are several possibilities to get data out of PTC Integrity such as using command line scripting, running reports, using gateways, web services, API or trigger scripts.

 

My question is, which of these possibilities would you suggest when you want to connect one integrity item with one or more Enterprise Architect package/s or element/ s. Is there a way using a standard feature of PTC Integrity which helps the developer to get that task done with less changes in Integrity or do you suggest a self-made program which writes in each tool the specific ID/s from the opponent's tool to help the user for example to find the suitable UML diagram in the Enterprise Architect for an already open requirement integrity item of PTC Integrity faster?

 

 

Thanking you in anticipation.

 

 

 

Regards

Dan

MKS source integrity standard editionproject checkpoint error

$
0
0

We have been using MKS source integrity standard edition 7.7.1.271 (old version) since 2006 on Win XP. When we are trying to check point the project with a non-admin account it gives an access deny error the name of project file (at archive location). Note that all the files are in alocal  drive and belong and accessible by the user. The error goes away if the user account is set to be administrator.

 

Any hint and idea about the sourceand how to deal with that is greatly appreciated.

 

Thanks

 

 

error.jpg

Recover connexion data for a .jar file

$
0
0

Hi,

 

I am developping a specific Jar file to enable an interface between Integrity and an other tool.

To use this jar file I have created a custom button.

 

This Jar works fine but I have to use a pop-up in which the user writes his connexion data (username, password, server and port). I would like to know if it is possible to recover the connexion data of the user who is currently using integrity.

 

Is there a way to do it or do we must asking the user each time he clik on this button his username, pasword.. even if he is already connected to Integrity.

 

And can we use the jar file in an other way that the custom button.

 

My "dream" should be to right clik on a Test Session, to clik on a specific line of the shortcut menu, recover the user connexion and the id of the Test Session and then do what the jar file have to do.

 

I hop to be clear.

 

 

Thank you !

 

Nico

Using TestVerdictName(LastResult()) in Computation Definition causes error MKS131372

$
0
0

When I try to use TestVerdictName(LastResult()) in the Compuatation Definition of a custom field, I get the below error.

errorMKS131372.jpg

MKS131372: An unhandled database exception has occurred. Please contact your administrator. The error supplied by the database is: ORA-00932: inconsistent datatypes: expected CHAR got CLOB

 

If I just use ToText(LastResult()) then I can at least get the number value of the last result but as soon as I replace it with TestVerdictName I get this error. I think I understand what the error is saying but I don't understand why I'm getting it.

 

Currently I am trying to work through the embedded if statements. The field type is shorttext. The Computation Definition (which isn't complete) is:

 

isMeaningful() ?

(

        IsEmpty(lastResult(), 99) == 99 ?

        (

            "ALM_Verified By Trace Count" > 0 ?

                Text("Traces")

            :

                Text("Not Run")

         )

        :

            TestVerdictName(LastResult())

)

: emptytext()

Integrity for WIN8?

$
0
0

I'm trying to understand the Intergrity release schedule for WIN8. Currently using revision 10.4

Attempt to launch MKS Integrity client Timed out.

$
0
0

Hello,

This is my first time with MKS.  We are using MKS Integrity Client, most of us are using windows client.  I'm on a mac and would like to setup my development environment in a VM, preferably a linux flavor.  I'm currently using centos 6.5 32 bit.  Installation of mksClient.bin runs fine, but anything I try, I get the following error. 

 

./si gui

./si: Attempt to launch MKS Integrity Client Timed out. To solve this please try the following:

- Verify that the user you are logged in as has read and write permissions to the Integrity Client install directory.

- Make sure the Integrity Client install directory is the very first entry in the path.

 

I'm able to read/write in integrity client install directory, so that cannot be the issue.  I do not know how setting up path is of any relevance when starting up the client.  Could this be some kind of connection issue?  I'm able to launch web version, web services, etc. at the given host/ip:port.  Any pointers?

 

Best,

Srikrishna

Defining default drag-n-drop trace relationship

$
0
0

Could someone explain or point me to documentation that explains how to define what the default relationship is when a user does a drag-n-drop from one node to another?


Usage of Tag confirmation

$
0
0

can we use  following tag on Report for getting Change Request,Defect,Task whose Time Entries that are modified in last one month

<%beginrelationshipsdetail Query[((timeentry[Entry Date] in the last 1 months) and (field[Type] = "Change Request","Defect","Task"))]%>

Redirect URL

$
0
0

Hello everyone,

 

     Is there an easy way to redirect the home page url to open the "Starte Workflows and Documents Web Interface" instead of the default home page?

 

 

 

 

Thank You,

 

 

Paul Hartwig

Inefficiency when merging change package with MKS Integrity

$
0
0

I am merging source by using MKS, and I met a efficiency problem with that.


I have to resynchronize  about 60 change packages this time, After I input all these change packages ID,

it cannot show up the merge window ,it seems the MKS is running all the time but get no result.

I have been waiting for a whole day and leave the computer opening for a night, this morning it showed me an error message ,so the merging was aborted.

 

I thought I input too much IDs for one time, so I tried input just 5 IDs, it still cannot work.

1.JPG

 

 

I checked status details,

2.JPG

 

If I canceled ,the report shows all of change packages have been processed.

 

3.JPG

The other actions in mks seem to be normal, so I guess it's not about the Internet speed.

Does anyone know why merging change package is so inefficiency?

Is there any other way like using the command line interface can improve the speed?

 

Thanks,

Jason

useful custom commands

$
0
0

Hi,

 

i'm looking for some useful custom commands.

At the moment we have custom commands for:

 

Copy SI Link to clipboard

Copy IM Link to clipboard

View Sandbox in Windows Explorer

 

i would be pleased if i get some new ideas (or a we can create a list) of useful custom commands (maybe with code)

Timezone Issue

$
0
0

Hi

 

To get Number of Days between two days excluding Weekend, I used WeekdaysDiff function in Computation Rule.  It's giving Different result for different timeZone.  As per my Observation I found the Integrity is taking locale time instead of picking Server time zone time, which is causing the problem.  Please guide us, its urgent requirement.  Please find the attached screenshot for the reference.

 

Message was edited by: :Kael Lizak:  Alt text added to image.

pass an ID to a batch file via url?

$
0
0

Hello,

I am attempting to create a custom actions via hyperlink that are embeded within an item.  I would like to try this for creating, modifing, and viewing items in the gui. 

 

Setup durring initialization:

var link = "file://<host>/Integrity/IntegrityServer10/data/public_html/newissue.cmd?"+db.getID();

 

File run from server contains:

im copyissue --type="Issue" --linkToField="Issues relationship" --gui %1

 

What would be the correct way to pass an ID to a batch file via url?

 

Is there a way to get the MKSSI_ISSUE0?  I haven't had luck with that either via url.

Looking for a JavaScript coding example that makes Integrity Web Service calls.

$
0
0

Hi,

 

Can someone post an example of JavaScript code that is making Integrity Web Service calls? This is for the Web Client only. I have all the Web Services documentation and I simply need an example for making the equivalent of an "im viewIssue" and/or "im editIssue" call using the Web Services from JavaScript. And this is browser-side JavaScript, not server-side behind a Trigger. I currently don't understand the JSONRpcClient and mksCommandRunner wrapper functions that I see in the debugger.

 

Any guidance would be most helpful. I almost have this functionality working and this is the last portion to complete in our prototype.

 

Kind regards,

-Sean

 

addendum...

 

I have a SOAP example from Jeremy that works great. For our implementation, we will need to make use of the userid/pw that is part of the session for the Web Client. The SOAP example has a hard-coded userid/pw. So I have the basic mechanics in place that demonstrates that our concept is workable. The next step to making this real is integrating with the JavaScript and session information that is running in the Web Client. A simple example would be most helpful.


mks java api connection error

$
0
0

Hello

 

I am trying to connect to Mks using the mks java api and encounter the Connection refused: connect error.

I am using the following code

{

    IntegrationPointFactory ipf = IntegrationPointFactory.getInstance();
CmdRunner cmdRunner;
Response resp = null;try{cmdRunner = ipf.createLocalIntegrationPoint(4, 10)
.getCommonSession().createCmdRunner(); 
Command cmd = new Command(Command.SI, "about");
resp = cmdRunner.execute(cmd);}catch (APIException e) {System.
out.println("Error " + e.getMessage());resp = e.getResponse(); }

}

to connect at mks client (I am using MKS Integrity Client 2009) and I encounter  the following error

{

  Connection refused: connect

}

How can I improove the above code in order to successfully connect to mks and skyp the error ?

 

Best regards,

Node constraints defined in segment

$
0
0

Is there a way to constrain the options for Category that are available to a node by constraining it from the segment that uses it?

Need suggestion on Command

$
0
0

Hi

 

I am just trying to add constraint through following command,

 

im edittype --Port=7000 --addFieldRelationship=constraintrule="((field["Regulated State/Province/City"] <>"California") and (field["Regulated State/Province/City"] != ""))":"Local District"="Houston-Galveston-Brazoria,Dallas- Fort Worth,Beaumont,Port Author",description="desc" typename

 

 

but this is not working as expected. is this command correct?

 

because though i am specifying typename it is asking me "This command accept selection of exactly one type"

 

command.PNG

 

if I am wrong please help me in getting correct command.

Gateway exporter Structure option

$
0
0

Hello Everyone,

I'm trying to activate the Option Structure Show Parentage checkbox on the Gateway Export Wizard.

option.JPG

 

According to the Gateway User Guide the <show-parentage>true</show-parentage> is required in the appropriate <export-configs> of the gateway-tool-configuration.xml file, and that requires <filter-query-definition> to exist. Below is one of my attempts. The Gateway Wizard does not complaint about anything being wrong, but the option stays grayed out. Does anyone have any experince with this?

Thank you,

Francisco

 

.

.

.

 

     <export-config>

      <name>[SERVER] John Deere Template 1 MS Word Exporter -- with TOC page</name>

      <description>John Deere Template 1 exporter that writes a Requirements Document document to Microsoft Word docx format -- with a Table of Contents</description>

      <exporter id="MSWORD">

        <property name="template">http://lsdewcs9.sdde.deere.com:7001/gateway/export/Microsoft Word/Deere Requirement Doc WordExportTemplate-2014a-TOC.docx</property>

      </exporter>

      <extension>docx</extension>

      <title-field>Document Title</title-field>

            <gateway-configuration-name>Deere Document Export</gateway-configuration-name>

             <filter-query-definition>(not(field["State"]is empty))</filter-query-definition>

      <show-parentage>true</show-parentage>

    </export-config>

Attempt to launch MKS Integrity client Timed out.

$
0
0

Hello,

This is my first time with MKS.  We are using MKS Integrity Client, most of us are using windows client.  I'm on a mac and would like to setup my development environment in a VM, preferably a linux flavor.  I'm currently using centos 6.5 32 bit.  Installation of mksClient.bin runs fine, but anything I try, I get the following error. 

 

./si gui

./si: Attempt to launch MKS Integrity Client Timed out. To solve this please try the following:

- Verify that the user you are logged in as has read and write permissions to the Integrity Client install directory.

- Make sure the Integrity Client install directory is the very first entry in the path.

 

I'm able to read/write in integrity client install directory, so that cannot be the issue.  I do not know how setting up path is of any relevance when starting up the client.  Could this be some kind of connection issue?  I'm able to launch web version, web services, etc. at the given host/ip:port.  Any pointers?

 

Best,

Srikrishna

Viewing all 3432 articles
Browse latest View live


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