Book a Demo

Author Topic: Add custom fields to PCS(pro cloud server)  (Read 5432 times)

sarathipriyan

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Add custom fields to PCS(pro cloud server)
« on: November 17, 2020, 08:52:18 pm »
Hi All,


 I need to add custom fields into the PCS(pro cloud server)


Is it possible to add custom fields? pro cloud server Sparx

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Add custom fields to PCS(pro cloud server)
« Reply #1 on: November 17, 2020, 09:06:20 pm »
I think you'll need to be a bit more specific?

When I hear custom fields I tend to think tagged values. You can add your own properties to elements using tagged values, and the web models (Prolaborate, webEA) who use PCS will show all tagged values.
But this is not specific to the cloud server.
Is that what you are looking for?

Geert

sarathipriyan

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Add custom fields to PCS(pro cloud server)
« Reply #2 on: November 17, 2020, 09:26:16 pm »
I think you'll need to be a bit more specific?

When I hear custom fields I tend to think tagged values. You can add your own properties to elements using tagged values, and the web models (Prolaborate, webEA) who use PCS will show all tagged values.
But this is not specific to the cloud server.
Is that what you are looking for?

Geert
Thanks for the Update.


Yes, I am using the oslc to interface with the pro cloud server.

https://www.sparxsystems.com/enterprise_architect_user_guide/15.2/model_repository/oslc_cfactory.html

I have a custom field (test_id) . Need to add properties to elements/package and get the field into the response.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Add custom fields to PCS(pro cloud server)
« Reply #3 on: November 17, 2020, 09:43:46 pm »
Yes, seems like tagged values are the way to go then.
I guess you should be able to create them with the OSLC interface but I'm not sure.

In the best case tagged values are part of the definition of a stereotype, and thus are already available on all elements that have that stereotype.

Geert

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
Re: Add custom fields to PCS(pro cloud server)
« Reply #4 on: November 18, 2020, 07:09:38 pm »
Hi,

Yes you can add tagged values via OSCL interface. However you cannot currently create an element with a user defined stereotype that is correctly created with defined tagged values. You can create an element with a plain stereotype, then add tagged values to it.

Sparx have acknowledged a feature request allowing us to create elements with a user defined stereotype via OSCL that are created correctly with pre-defined stereotypes.

Regards,

Jon.