Simple example tried (after reading basic documentation) to integrate a Matlab Simulink Model in an Integrity Modeler model is not working. Do you know where to find documentation or tutorials on this question ?
Integration for MATLAB Simulink in Integrity Modeler
Integrity and Jira Integration
Hello,
I am looking for an integration solution to couple Integrity and Jira.
Does anyone has experience and can forward a link or material?
Thanks!
Volker
Rename the project tabs?
Hi all,
is it possible to rename the project tabs?
By default they show part of a long path to the project.pj file.
how do i check if there are any files checked in to a devpath ?
how do i check if there are any files checked in to a devpath or release ?
useful custom commands
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)
Display Text Attachment as image in Text field using CLI
Hi,
i managed to attach an image to the Text Attachment field using the command
im editissue --addAttachment=C:\tmp\test.png 123
I can add the image to the Text field by right clicking the field and select "Insert -> Image..." and then choose the image from my Text Attachments.
But i did not find a way to do the same thing using the CLI.
Any hints are appreciated.
Best Regards,
Michael
Integrity and Jira Integration
Hello,
I am looking for an integration solution to couple Integrity and Jira.
Does anyone has experience and can forward a link or material?
Thanks!
Volker
Anyone knows how to get items with customquery in C#? using PTC web service
Hi I am struggling to get items with getItemsByCustomQuery
Please find below code,
MKSService.getItemsByCustomQuery cusQ = new getItemsByCustomQuery();
MksIntegration.MKSService.CustomQuery qry = new CustomQuery();
MKSService.Integrity_2009Client cl = new Integrity_2009Client();
string DateStr = "2014-10-29";
qry.QueryDefinition = "Modified Date = " + DateStr;
qry.Username = "XXXXXX";
qry.Password = "XXXXXX";
string[] field1 = new string[] { "id", "Summary", "Modified Date" }; //
qry.InputField = field1;
cusQ.arg0 = qry;
getItemsByCustomQueryResponse qryRes = new getItemsByCustomQueryResponse();
qryRes = cl.getItemsByCustomQuery(cusQ);
Appreciate your response
Thanks
Importing sandbox without .pj file
How do i import sandbox in Integrity build 10.9? I know project.pj files no longer exists in this version but since I need to import a sandbox which is created by different MKS user in same machine
How can I remove the "GMT" information from a date field?
I have a computed date field (date only, not timestamp) that uses the function firstTimeEntryDate() to find the earliest time entry on an item.
The output looks like this: Jan 13, 2014 GMT+00:00
I want to get rid of the useless "GMT" information.
My first instinct is to try to parse the date and reformat it, so I end up with something that looks like this:
timestamp(
concat(
Substring( MonthOfYearName( firstTimeEntryDate() ) , 1 , 3 ) ,
Text( " " ) , ToText( getDay( firstTimeEntryDate() ) ) ,
Text( ", " ) , ToText( getYear( firstTimeEntryDate() ) )
)
)
This doesn't work because "The Timestamp() function takes a single argument which must be a string in the format java.text.SimpleDateFormat".
I know I can do the parsing into a text field, but I want a date.
Does anybody have a solution to format a computed date field, or more specifically remove the GMT information?
Rename the project tabs?
Hi all,
is it possible to rename the project tabs?
By default they show part of a long path to the project.pj file.
Integrity and Jira Integration
Hello,
I am looking for an integration solution to couple Integrity and Jira.
Does anyone has experience and can forward a link or material?
Thanks!
Volker
is it possible to integrate outlook mail with Integrity Server ?
is it possible to integrate outlook mail with Integrity Server ?
How can I fire an integrity query in java and get its output and store it? Can I get an example code for it?
How can I fire an integrity query in java and get its output and store it? Can I get an example code for it?
Synchronizing ILM Interface Documents with Modeler
A current project in our company wants to synchronize ILM Interface Document with Modeler (using UML).
Has anyone experience synchronizing ILM Interface Documents with Modeler?
Best regards,
Daniel
CAE Software & Systems Engineering
Schaeffler Technologies AG & Co. KG
Industriestr. 1-3
91074 Herzogenaurach (Germany)
IM: how can i get the max. fieldsize (not the length of the value) in a trigger script?
Hi all,
we want to copy some field values from one short text field to another short text field by a trigger. Unfortunately it is actually possible that the string in the source field is longer than the max. length of the destination field. In such a case the user gets an error message, and the transaction will be aborted.
I didn't find any function to get the field size in the trigger documentation. Is there any way to get this information available to a trigger script?
Thanks, Jens
MKS 2007 with SQL Server 2008 R2
Hello,
We have an old Copy of MKS integrity which contains some legacy solutions. We do not actively use it but it is occasionally useful to look at the old histories when trying to understand an area of code.
We are looking to upgrade the backend database from SQL 2005 -> SQL 2008 R2. Just wondering if anyone has done this, or any experience with it / known problems?
Thanks,
Al.
Counting relationships: is it better to use a dynamic calculation or a relationship field rule?
I need to count the relationships for some items types, like for example the number of "Validated By" traces for a Requirement.
1) One way to do that is via a dynamic calculation: for example, "Trace Count - Validated By" is defined as isEmpty( RelCount( "Validated By" ) , 0 ).
2) The other way is to keep the field as a normal input integer (no calculation), but define a rule on the relationship field "Validated By" that runs a trigger script like "count.js".
Which solution is better from a performance standpoint?
- On one hand, having the dynamic calculation means it's performed every time the item is accessed. Changing the computation to static is not a solution since I need the number as soon as it changes.
- On the other hand, I've noticed that rule triggers are run every time the item is edited, no matter which fields are edited. I even suspect that all the rules are run for all relationship fields, but I'm not sure of that (and no time to investigate further). For items in a document that is saved as a whole, that could mean tens of trigger calls for each edit.
I've implemented both and don't perceive any performance impact. However, I'd like to get some feedback from the community and PTC before going further.
How can I remove the "GMT" information from a date field?
I have a computed date field (date only, not timestamp) that uses the function firstTimeEntryDate() to find the earliest time entry on an item.
The output looks like this: Jan 13, 2014 GMT+00:00
I want to get rid of the useless "GMT" information.
My first instinct is to try to parse the date and reformat it, so I end up with something that looks like this:
timestamp(
concat(
Substring( MonthOfYearName( firstTimeEntryDate() ) , 1 , 3 ) ,
Text( " " ) , ToText( getDay( firstTimeEntryDate() ) ) ,
Text( ", " ) , ToText( getYear( firstTimeEntryDate() ) )
)
)
This doesn't work because "The Timestamp() function takes a single argument which must be a string in the format java.text.SimpleDateFormat".
I know I can do the parsing into a text field, but I want a date.
Does anybody have a solution to format a computed date field, or more specifically remove the GMT information?
project.pj growing in size when checking in deferred (Integrity 10.4)
Recently I stumbled over a project.pj with unusual size regarding member count.
When opening in a text editor I discovered that comments for deferred checkins
where stored there which later on I found plausible remembering information for deferred
operation beeing stored locally.
I then also discovered that on subsequent deferred checkins with different comments
some kind of comment history must be kept in project.pj.
I was somehow surprised though that even checking in undeferred some time later or reverting the
member does not remove that information.
Is there a way to purge project files in a sandbox from such information?
For newer Integrity releases is there a difference regarding handling of deferred operations?