I am trying to get a list of posts by the associated author and add this to the profile page. The problem is that the custom post type is not showing as a "post source". I have other pages working with the custom post type but for some reason it's not available with this view and I only have the option for "current post" or "other post". Seems like such a simple thing but I just can't find why it's not working anywhere.
Can you elaborate on the context of what you are doing?
We are talking about the output section of a View block, right?
And you are trying to use dynamic sources for some block that you are including in the output of the View, where the source should be posts of a particular post type.
What does the View query? Posts of the post type you are trying to output? (I guess not, because you would use Current Post for that.)
Are the posts queried by the View related to the custom post type you want to use as source?
If so, what is the relationship?
I suspect it is many-to-many, or if it is one-to-many the starting point is the "one" and the post you want to reference as source belongs to the "many".
In which case it cannot work. Referring to another post as source using dynamic sources only works if there is a unique post to reference. With a many-to-many relationship it could be one (or more than one) of many.
When you want to output something from the "many" side of a relationship it has to be via a View, which means using nested Views.
Nesting Views blocks isn't possible, though you could use the legacy editor to create the child View (that uses a relationship filter to refer back to the outer View) and then insert that legacy View into the first View using a shortcode.
Can you elaborate on the context of what you are doing?
It is a membership site and each active member has a custom post type (or CPTS) associated with their account/subscription. It is possible for them to edit the custom post type associated with their account by searching for it and click on an "edit" button that has been added there, but this a bit of a convoluted process. I want logged in members to be able to click on a menu item where they are able to see and edit their custom post types. I was going to create a view and add a filter to just show their custom posts there, using much the same process as displaying search results (which works fine) but only displaying the members posts.
Actually I am initially able to see the custom post type as a source when I initially add the view (if I remove it and add it back) , but there are "no posts to view". Once I have edited the view I am no longer able to see the "post source" although I wonder if maybe if it does not actually matter at the stage because it is already associated with the custom post type (even if I cannot actually see any posts, which might be different problem).
I'm open to other solutions here if I'm making it overly complex.