Hi Guys
Using ISO19115-1 in GN 3.2.1
I have a problem managing the CI_Party <abstract> substitutions
[cid:image001.jpg@anonymised.com]
From the UML model
cit:CI_Organisation and cit:CI_Individual classes are specialisations of the cit:CI_Party <abstract> class
How do I get just a list of the 'directory entries" for two allowable classes
I know the following is not correct
<for name="cit:party" addDirective="data-gn-directory-entry-selector">
<directiveAttributes
data-template-add-action="true"
data-search-action="false"
data-popup-action="true"
data-template-type=" party"
data-filter='{"_root": "cit:CI_*"}'/>
</for>
The data-template-add-action="true" gives me "plus" button with two options: Individual; and Organisation
BUT those fail to present the mandatory cit:name element (and can't get the optional cit:CI_Individual/cit:positionName element either)
This seems odd, how do I force the cit:name and cit:positionName to be presented?
The data-popup-action="true" gives me the "searchAparty" button
BUT because the data-filter='{"_root": "cit:CI_*"}' , not surprisingly I get any "directory entry" starting with cit:CI_
There are other instances where this is required
Any hints would be greatly appreciated
(Note also I am currently not able to add additional cit:CI_Individual directory entries! ???)
Cheers
e
BLEYS Evert Mr
Data Manager
Australian Bureau of Agricultural and Resource Economics and Sciences
Department of Agriculture and Water Resources
GPO Box 858 Canberra City ACT Australia 2601
44 Mort St Braddon ACT 2612
Ph: +61 (0)2 6272 5627
Email: Evert.Bleys@anonymised.com
------
IMPORTANT - This email and any attachments have been issued by the Australian Government Department of Agriculture and Water Resources. The material transmitted is for the use of the intended recipient only and may contain confidential, legally privileged, copyright or personal information. You should not copy, use or disclose it without authorisation from the Department. It is your responsibility to check any attachments for viruses and defects before opening or forwarding them.
If you are not an intended recipient, please contact the sender of this email at once by return email and then delete both messages. Unintended recipients must not copy, use, disclose, rely on or publish this email or attachments. The Department of Agriculture and Water Resources is not liable for any loss or damage resulting from unauthorised use or dissemination of, or any reliance on, this email or attachments.
If you have received this e-mail as part of a valid mailing list and no longer want to receive a message such as this one, advise the sender by return e-mail accordingly. This notice should not be deleted or altered
------
(attachments)

Hi,
2017-11-06 5:43 GMT+01:00 Bleys, Evert <Evert.Bleys@anonymised.com>:
Hi Guys
Using ISO19115-1 in GN 3.2.1
I have a problem managing the CI_Party <abstract> substitutions
[cid:image001.jpg@anonymised.com]
From the UML model
cit:CI_Organisation and cit:CI_Individual classes are specialisations of
the cit:CI_Party <abstract> class
How do I get just a list of the 'directory entries" for two allowable
classes
I know the following is not correct
<for name="cit:party" addDirective="data-gn-
directory-entry-selector">
<directiveAttributes
data-template-add-action="true"
data-search-action="false"
data-popup-action="true"
data-template-type=" party"
data-filter='{"_root": "cit:CI_*"}'/>
</for>
The data-template-add-action="true" gives me "plus" button with two
options: Individual; and Organisation
BUT those fail to present the mandatory cit:name element (and can't get
the optional cit:CI_Individual/cit:positionName element either)
This seems odd, how do I force the cit:name and
cit:positionName to be presented?
The _title field is the one to change
https://github.com/metadata101/iso19115-3/blob/3.4.x/src/main/plugin/iso19115-3/index-fields/index-subtemplate.xsl#L86
Don't hesitate to propose improvements on this.
Cheers.
Francois
The data-popup-action="true" gives me the "searchAparty" button
BUT because the data-filter='{"_root": "cit:CI_*"}' , not surprisingly
I get any "directory entry" starting with cit:CI_
There are other instances where this is required
Any hints would be greatly appreciated
(Note also I am currently not able to add additional cit:CI_Individual
directory entries! ???)
Cheers
e
BLEYS Evert Mr
Data Manager
Australian Bureau of Agricultural and Resource Economics and Sciences
Department of Agriculture and Water Resources
GPO Box 858 Canberra City ACT Australia 2601
44 Mort St Braddon ACT 2612
Ph: +61 (0)2 6272 5627
Email: Evert.Bleys@anonymised.com
------
IMPORTANT - This email and any attachments have been issued by the
Australian Government Department of Agriculture and Water Resources. The
material transmitted is for the use of the intended recipient only and may
contain confidential, legally privileged, copyright or personal
information. You should not copy, use or disclose it without authorisation
from the Department. It is your responsibility to check any attachments for
viruses and defects before opening or forwarding them.
If you are not an intended recipient, please contact the sender of this
email at once by return email and then delete both messages. Unintended
recipients must not copy, use, disclose, rely on or publish this email or
attachments. The Department of Agriculture and Water Resources is not
liable for any loss or damage resulting from unauthorised use or
dissemination of, or any reliance on, this email or attachments.
If you have received this e-mail as part of a valid mailing list and no
longer want to receive a message such as this one, advise the sender by
return e-mail accordingly. This notice should not be deleted or altered
------
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/
projects/geonetwork