Forum - customization by angularJS(Find controllers)

This topic contains 3 replies, has 4 voices, and was last updated by Ori Miller 1 month, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #35248
    Anonymous

    Hi
    I am editing custome.js with angularJS. I noticed there’s many ‘controllers’ in it.Each controller has its own data.
    But for now I have to view and find the ‘controllers’ in console view of web browser.It’s little inconveniences.
    I want to know if there’s any documentation that I can find all supported controllers? such as:

    Parent Controller – prmSearchResultAvailabilityLine
    parentCtrl.result.pnx.control.sourcerecordid[0] – MMSID
    etc.

    Parent Controller – prmLoginHelp
    parentCtrl.loginHelpService._loginHelpData.moreInfo – Sign-in Help Text
    etc….

    Parent Controller – prmLocations
    parentCtrl.results[0][0].location.callNumber – Item Call Number
    parentCtrl.results[0][0].availability – Item Avaliability
    parentCtrl.results[0][0].additionalData.mainlocationname – Main Location Name
    etc….

    Parent Controller – prmGalleryCollectionsList
    parentCtrl.collections[0].name – Collection Title
    parentCtrl.collections[0].pid.value – Collection ID
    etc….

    Thank you.

    #39855
    Beijing Normal University 86BNU_INST
    Participant

    Hi Is there any comments or advise?

    #51696
    Macau University of Science and Technology 853MUST_INST
    Participant

    any updates?

    #51697
    Ori Miller
    Keymaster

    Hi,
    Unfortunately, there isn’t such documentation that can tell exactly what each parameter means.
    The only thing that available now is the showDirectives script that provided in primo-explore-package GitHub repository (https://github.com/ExLibrisGroup/primo-explore-package/blob/master/VIEW_CODE/showDirectives.txt) which can tell you what components are free to use by the customization package.
    Regards,
    Gilad

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.