Fetch from in frappe prompt

So i want to fetch_from in frappe.prompt. I want to fetch name in Master Member while prompting. Here’s what I tried

function () {
						fieldname: 'master_member',
						fieldtype: 'Link',
						label: 'No. CIF',
						options: 'Master Member',
						fieldname: 'name',
						fieldtype: 'Read Only',
						label: 'Name',
						fetch_from: 'master_member.name'

				function (values) {
				'Generate News',

but it didnt fetch, does anyone has the solution?

fetch won’t work for this, you will have to write an event handler to trigger it.