Skip to main content

I looked this up in the tutorials, but it only explains how to create an entity in a project.  Since projects are new for us legacy users, how do I create an entity outside of a project?  ( am trying to access the documentation website but right now having issues with my credentials).

Thanks!



------------------------------
Joanne DeTurk
Software Manager
Mirion Technologies (Canberra), Inc.
------------------------------

I looked this up in the tutorials, but it only explains how to create an entity in a project.  Since projects are new for us legacy users, how do I create an entity outside of a project?  ( am trying to access the documentation website but right now having issues with my credentials).

Thanks!



------------------------------
Joanne DeTurk
Software Manager
Mirion Technologies (Canberra), Inc.
------------------------------

Hi Joanne, the way you create components in Uniface 10 is to drag a Component Template or Modeled Component (previously called component templates) into a project. Just click "Create project" in the Hamburger menu on the top right, or the link in the StartPage to create one. 

Once you have dragged a component template to the project you can rename it by single clicking on it, then double click to open. The process for creating a component from a template in a project is essentially the same as creating an entity. Just scroll down if you you don't see the template you need (or filter) and be careful not to select a modeled component from the templates list if want to create a component rather than a "component template".

A project is essentially a collection of shortcuts or references to development objects - you can delete the project without deleting its contained objects, and you can add references to development objects in more than one project. I find projects useful to simplify working with a collection of objects (e.g. compile or export everything).

If you're new to Uniface 10 I recommend taking a look at the  Course: What's New in Uniface 10 | Rocket Learn, especially the highlights video.

Kind Regards,

------------------------------
David Akerman
Principal Solution & Enablement Architect
Rocket Internal - All Brands
------------------------------


Hi Joanne, the way you create components in Uniface 10 is to drag a Component Template or Modeled Component (previously called component templates) into a project. Just click "Create project" in the Hamburger menu on the top right, or the link in the StartPage to create one. 

Once you have dragged a component template to the project you can rename it by single clicking on it, then double click to open. The process for creating a component from a template in a project is essentially the same as creating an entity. Just scroll down if you you don't see the template you need (or filter) and be careful not to select a modeled component from the templates list if want to create a component rather than a "component template".

A project is essentially a collection of shortcuts or references to development objects - you can delete the project without deleting its contained objects, and you can add references to development objects in more than one project. I find projects useful to simplify working with a collection of objects (e.g. compile or export everything).

If you're new to Uniface 10 I recommend taking a look at the  Course: What's New in Uniface 10 | Rocket Learn, especially the highlights video.

Kind Regards,

------------------------------
David Akerman
Principal Solution & Enablement Architect
Rocket Internal - All Brands
------------------------------

Thank you for your response David.  I was wondering if the steps above could be done OUTSIDE of a project?  If not, we'll adjust.  Thanks.



------------------------------
Joanne DeTurk
Software Manager
Mirion Technologies (Canberra), Inc.
------------------------------

Thank you for your response David.  I was wondering if the steps above could be done OUTSIDE of a project?  If not, we'll adjust.  Thanks.



------------------------------
Joanne DeTurk
Software Manager
Mirion Technologies (Canberra), Inc.
------------------------------
I think the short answer to "can I do this outside a project" is "no".

We just have the one project, which we regularly clear all the new stuff out
of, purely for the purpose of being able to create new objects.
I'd be interested in a discussion with anyone who has found the project
concept to be a useful tool, as it does not fit with anything we do here,
and I don't know if I am missing something.

Regards,

Iain








Iain Sharp | Head of Technical Services
Jonas Metals Software
iains@jonasmetals.com
tel +44 (0) 114 201 2200
www.jonasmetals.com

@pcisystems.co.uk?anonymous&ep=pcard> Book Time With Me






--


STATEMENT OF CONFIDENTIALITY: This email and any files transmitted with
it are confidential and intended solely for the use of the individual or
entity to whom they are addressed. If you have received this email in error
please notify the sender immediately and do not copy, distribute or take
any action in reliance upon it. Please note that any views or opinions
presented in this email are solely those of the author and do not
necessarily represent those of the company. Finally, the recipient should
check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted
by this email.



Jonas Metals Software Limited is a limited company
registered in England and Wales with registered number 02648289. Our
registered office is at Hithercroft Road, Wallingford, Oxfordshire OX10
9BT. Our VAT number is 691 3168 24. Jonas Metals Software is part of the
Jonas Group of companies.

We use Google Workspace and this email has been
sent using Gmail.

I think the short answer to "can I do this outside a project" is "no".

We just have the one project, which we regularly clear all the new stuff out
of, purely for the purpose of being able to create new objects.
I'd be interested in a discussion with anyone who has found the project
concept to be a useful tool, as it does not fit with anything we do here,
and I don't know if I am missing something.

Regards,

Iain








Iain Sharp | Head of Technical Services
Jonas Metals Software
iains@jonasmetals.com
tel +44 (0) 114 201 2200
www.jonasmetals.com

@pcisystems.co.uk?anonymous&ep=pcard> Book Time With Me






--


STATEMENT OF CONFIDENTIALITY: This email and any files transmitted with
it are confidential and intended solely for the use of the individual or
entity to whom they are addressed. If you have received this email in error
please notify the sender immediately and do not copy, distribute or take
any action in reliance upon it. Please note that any views or opinions
presented in this email are solely those of the author and do not
necessarily represent those of the company. Finally, the recipient should
check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted
by this email.



Jonas Metals Software Limited is a limited company
registered in England and Wales with registered number 02648289. Our
registered office is at Hithercroft Road, Wallingford, Oxfordshire OX10
9BT. Our VAT number is 691 3168 24. Jonas Metals Software is part of the
Jonas Group of companies.

We use Google Workspace and this email has been
sent using Gmail.

You don't need a project to create and deploy a uniface application.

You simply duplicate(or import) a form, compile it and run it with an application shell also duplicated and compiled.  The form and shell will not be part of a project.

I assume, maintenance is quite tricky working with projects as you will need to constantly assign a new(or duplicated) object to a project. That project is possible the only project in your suite.  If you forget to assign it, it may mess up the deployment... dunno

I can envisage a DICT insert to keep things tidy rather than going through the ide.



------------------------------
Osman Shariff
Freelance Uniface Consultant - France

Private message me if you need help with a project
English, French, German
------------------------------

You don't need a project to create and deploy a uniface application.

You simply duplicate(or import) a form, compile it and run it with an application shell also duplicated and compiled.  The form and shell will not be part of a project.

I assume, maintenance is quite tricky working with projects as you will need to constantly assign a new(or duplicated) object to a project. That project is possible the only project in your suite.  If you forget to assign it, it may mess up the deployment... dunno

I can envisage a DICT insert to keep things tidy rather than going through the ide.



------------------------------
Osman Shariff
Freelance Uniface Consultant - France

Private message me if you need help with a project
English, French, German
------------------------------

Re: Osman's comment, forgetting to add a duplicated component to a project won't have any effect other than the component being missing from the project, so if you compile or export the project it would be omitted.

Personally, I don't like the duplication approach, as modeled components allow you to get more reuse and improve maintainability via code inheritance, but it's your choice. The Uniface 10 templates are different from the Uniface 9 templates, and take advantage of new features such as exceptions. 

The e-learning at https://learn.rocketsoftware.com shows how you can create your own templates and modeled components.



------------------------------
David Akerman
Principal Solution & Enablement Architect
Rocket Internal - All Brands
------------------------------