Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sjf

Pages: [1] 2 3
1
PCS Bugs and Issues / Re: PCS AD Issues
« on: June 10, 2025, 01:32:41 am »
As soon as we received the new license the problem went

2
PCS Bugs and Issues / PCS AD Issues
« on: June 03, 2025, 09:06:01 pm »
Hi,

We use PCS to access a repository from EA. We are currently finding that no AD logins are connecting and we get prompted for a username and password, only local EA username & passwords work.

We have the correct settings as per the manual, we get an error about Authentication failure and a status 401 access denied, not sure how to troubleshoot. This has happened since Monday. Our Prolaborate & PCS licences expired (which we are trying to renew) but we have been assured by support that the EA connection to PCS does not require a licence. We have no access to our repositories and wondered if anyone had come across a similar issue

3
PCS Bugs and Issues / Prolaborate 5.5 Excel Report Download fails
« on: May 23, 2025, 01:01:01 am »
I am trying to download an excel report for a non-MDG report and either get a download failed message or a report with the name column with values, all other columns are blank. Has anyone experienced this and know a workaround?

4
So for me, I can see and select the UML::Trace in the Connector Stereotype drop down in the Create Connector Page

5
PCS Bugs and Issues / Re: Prolaborate custom icons not working?
« on: May 19, 2025, 09:08:45 pm »
I haven't tried setting them through Prolaborate but the icons speficied in my MDG display correctly in Prolaborate. These were the standard 16X16 bmps used in the MDG, I haven't managed to use the Prolaborate method.

6
PCS Bugs and Issues / Multilevel reports
« on: May 19, 2025, 08:58:39 pm »
I am trying to create a multi level report to show applications and resourceroles. Applications has a refguid to an resourcerole which is the owner of the application. The documentation on multi-level reports is unclear and doesn't indicate how I use the "Condition to link to previous level - (Optional)" and whether I need to. There are no textual examples to guide me, any guidance from soneone who has managed to use this would be much appreciated. An update to the documentation  would help.

7
Can you create a custom connector property of type of UML::Trace or SysML 1.3::trace?

8
Raised today, I'll post progress

9
General Board / Line coloring in Time Series Viewer Charts
« on: February 21, 2025, 02:16:04 am »
I have created a time series viewer chart with 3 graph lines representing RAG status of various elements, however I cannot find away to change the color of each of the lines. I have ended up with a line labelled as Amber being shown in a blue color. Any suggestions would be much appreciated.

10
Hi,

We have BMC Helix CMDB in our organisation and was looking to integrate Pro Cloud Server with our CMDB.

BMC provide a REST API https://docs.bmc.com/docs/ac213/endpoints-in-the-rest-api-1019248762.html which are aligned with the Swagger specification language https://swagger.io/specification/ and the OpenAPI specification.

I know that I can build an SBPI plugin to support this but was wondering if there are any plans to support this as an out of the box integration.

Thanks

11
General Board / Re: I can't get the tagged values from a SQL query
« on: November 02, 2024, 03:07:01 am »
I believe that the problem is, is that you haven't named nested table, however I would simplify much more:

Code: [Select]
SELECT t_object.ea_guid AS CLASSGUID,
t_object.Object_Type AS CLASSTYPE,
t_object.Name,
tv.Value AS TagName
FROM t_object
LEFT OUTER JOIN t_objectproperties AS tv
  ON t_object.Object_ID = tv.Object_ID AND tv.Property = 'Vendor'

12
The clue is probably how you defined this attribute with default value.

It it correct that you didn't define that in code, but in your model, as an attribute of the DMScripts class?

In that case this.SomeData is definitely not going to work. There is little to no magic involved when it comes to EA.
If you want to access the attributes of the element on which the script is defined, then you'll have to do that yourself.

What you can do is (in VBScript)

Code: [Select]
dim x
dim dmScriptsClass
set dmScriptsClass = Repository.GetElementByGUID(<guid of the DMScripts class>)
for each attr in dmScriptsClass
  if attr.Name = "SomeData" then
     x = attr.Default
     exit for
  end if
next

Geert

Thanks, I'm happy to use the Repository API to get this. 8)

I defined it as an attribute on the DMSCript class in the DataMiner diagram. I'm not sure I would even know how to define an attribute in the code of the DMScript class.

You are correct that this is JavaScript, as I haven't used VBScript for a long time, but used to using the API for creating & managing elements.

I'm sure that using this to get attributes of a runtime class works with the in-built Add-In model but may be wrong.

Any other suggestions warmly welcomed.

13
Apologies,

on the DMScript class I have defined an attribute:

SomeData of type String with an initial value of "My Test"

In my DMScript code I have:

let x = this.SomeData;
Session.Output(x);

I get the error:
Data Miner: Failed to run 'ProcessData', script error: Parameter 1 type mismatch, Line:10

If I change the output to
Session.Output("[" + x + "]");

I get the output:
[undefined]

So I am looking to be able to access attributes of the DMScript class from the code.

14
I have created a bunch of dataminers which generic scripts to import data from our CMDB. The scripts will for instance read an excel spreadsheet for a particular set of elements, check in a package to see if the elements already exist (if not create a new element), if it exists it will update any changed tags and remove any elements which don't exist in the import file.

This requires the excel to have the element name, description and columns containing the tags together with a worksheet which contains the mapping of column number to tag name. This is all good and works.

I would like to be able to access attributes of the DMScripts class to for instance hold the GUID of the package folder to load to, the names of the DMSets for the mapping dataset & the data dataset.

I have tried using this.attribute but get an error, I wondered whether anyone has found whether this is possible?

15
I found the same issue, the recommended approach from an EA perspective is to use a dataType with the notes as Type=Date; This works find in EA, however it does not work in Prolaborate, the recommended approach is to use the EA legacy mechanism of creating a tagged value type with the same name as your tagged value and add Type=Date;
 to the detail of the tagged value. This off course means that you have to create lots of tagged value types - one for each unique tagged value name in your MDG.

Pages: [1] 2 3