# Fieldkeys from blog/post dataset is not working

**URL:** <https://forum.wixstudio.com/t/fieldkeys-from-blog-post-dataset-is-not-working/62651>\
**Category:** Ask the community\
**Tags:** design, wix-studio, wix-blog, code\
**Created:** [September 10, 2024, 3:09pm UTC](https://forum.wixstudio.com/t/fieldkeys-from-blog-post-dataset-is-not-working/62651 "2024-09-10T15:09:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aquarius\_Mike](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/aquarius_mike/32/86255_2.png) [@Aquarius\_Mike](https://forum.wixstudio.com/u/Aquarius_Mike)\
**Post date:** [September 10, 2024, 3:09pm UTC](https://forum.wixstudio.com/t/fieldkeys-from-blog-post-dataset-is-not-working/62651/1 "2024-09-10T15:09:07Z")

</div>

I tried to show timeToRead from blog (posts) collection using wix velo code. The example from wix velo examples doesn’t included timeToRead field and most of the fields are not working.  
Here is the example code

```javascript
import wixLocation from 'wix-location';

let currentPost;

$w.onReady(function () {
	// Handle location changes and initialize the page
	wixLocation.onChange(() => {
		initPage();
	});

	initPage(); // Call when the page is ready
});

async function initPage() {
	// Make sure the dataset is ready
	$w("#posts").onReady(() => {
		currentPost = $w("#posts").getCurrentItem(); // Fetch the current post from the dataset
		assignPostDataToUIElements(); // Assign the post data to the UI
	});
}

function assignPostDataToUIElements() {
	$w("#postTitle").text = currentPost.title; // Assign the title to the UI
	// Uncomment these lines when you need them
	//$w("#authorName").text = `Written by: ${currentPost.author}`;
	//$w("#photographerName").text = `Images by: ${currentPost.photographer}`;
	//$w("#postHeaderStrip").background.src = currentPost.coverImage;
	//$w("#postHeaderStrip").show("fade");

	$w('#postreadingtime').text = currentPost.timeToRead; // Set reading time
}

```

Also tags and some other fields are not working too But uuid is working. How is that possible? Any help to fix this?
