I created a view with a page url.
I would like to add a viewfield to my content type.
But instead of rendering the view, I would like to render the url of the page.
I would like to be able to pass in the URL argument.

Use case:
I am using views_ical to create an ical ics file.
If I change the page url I would like the event content type to recognize it automatically via the viewfield

Comments

SocialNicheGuru created an issue. See original summary.

jerdavis’s picture

Category: Support request » Feature request
Status: Active » Needs work

This would be a feature request for an additional field formatter. Updating issue category.

jerdavis’s picture

Status: Needs work » Active
jerdavis’s picture

Status: Active » Fixed

Given the ease in adding your own field formatters in Drupal 8, I'm going to recommend that you implement this in either a custom module, or a related contrib module. There are a lot of different display formatters that don't provide a route to view the results. To me, that makes it problematic to provide a formatter in the standard module that would only function properly with page displays.

If you do create a extensions module with a formatter for this, please let me know and I'll be happy to link to it on the project page.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.