Skip to content
This repository has been archived by the owner on Jun 27, 2018. It is now read-only.

identifierName inconsistent type #68

Open
daurnimator opened this issue Jun 9, 2016 · 0 comments
Open

identifierName inconsistent type #68

daurnimator opened this issue Jun 9, 2016 · 0 comments

Comments

@daurnimator
Copy link

I'm trying to create a custom url on an entity.
The identifierName passed to my function seems to be of different types depending on where it was called from.

I added this to the start of my function:

console.log("URL FUNC", entityName, viewType, identifierValue, identifierName)

I see in chrome's console:

URL FUNC profile ShowView a98f8790-2d53-11e6-be94-eb7602da249b e {_name: "id", _detailLink: true, _type: "string", _order: null, _label: null…}_attributes: Object_cssClasses: null_defaultValue: null_detailLink: true_detailLinkRoute: "edit"_editable: true_flattenable: true_label: null_maps: Array[0]_name: "id"_order: null_pinned: false_template: ()_templateIncludesLabel: false_transforms: Array[0]_type: "string"_validation: Objectdashboard: truelist: true__proto__: Object
URL FUNC organisation listView 54dd74c8-2d53-11e6-831e-5be6dcb88be2 organisation
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant