Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use sourceUrlFields from config to set citation links #1222

Merged
merged 1 commit into from
Mar 11, 2025

Conversation

k-gerner
Copy link
Contributor

@k-gerner k-gerner commented Mar 5, 2025

Allow custom fields for GDA citation links

The entity field used to populate the href (click through link) on GDA citations is now configurable.
This is configurable in the sourceUrlFields property of the GDA component, on a per-vertical basis.
This value can be a single string, or a list of strings. If multiple are listed, then they will be tried in order, with the secondary fields being used if the primary field is not valid.

J=WAT-4680

Related change in answers-search-ui: yext/answers-search-ui#1923

@k-gerner k-gerner requested a review from a team as a code owner March 5, 2025 22:34
@coveralls
Copy link

Coverage Status

coverage: 9.044% (-0.03%) from 9.074%
when pulling d3931f7 on dev/gda-allow-custom-link-field
into 7c68176 on master.

@k-gerner k-gerner merged commit 15f0f9f into master Mar 11, 2025
10 of 15 checks passed
@k-gerner k-gerner deleted the dev/gda-allow-custom-link-field branch March 11, 2025 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants