# Smart Field showing on development, but not on production

**URL:** https://community.forestadmin.com/t/smart-field-showing-on-development-but-not-on-production/4101
**Category:** Help me!
**Created:** [January 27, 2022, 9:42am UTC](https://community.forestadmin.com/t/smart-field-showing-on-development-but-not-on-production/4101 "2022-01-27T09:42:42Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Houssam](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@Houssam](https://community.forestadmin.com/u/Houssam)
#### Post date: [January 27, 2022, 9:42am UTC](https://community.forestadmin.com/t/smart-field-showing-on-development-but-not-on-production/4101/1 "2022-01-27T09:42:42Z")

</div>

## Feature(s) impacted

Smart Field

## Observed behavior

Smart Field not showing in production, while it does show in development

## Expected behavior

Smart Field showing in production, the same way it shows in development

## Context

I have added a Smart Field on a collection, and it shows properly in development, but after pushing the changes to production (both the code with the schema and the layout), the field doesn’t show on production.

On both production and development, I can see that the network request when going on an item page “https://[forestadmin-backend]/forest/[collection-name]/[id]” containing the smart field and its value, but on the UI, that field is displayed on development but not on production.

The field is declared properly on the `.forest-admin.json` schema (on both production and development =\> same schema file)

There is no error on the console when accessing the page.

- Project name: Collective.work
- Team name: Admin
- Environment name: Production
- Agent type & version: forest-express-sequelize 8.4.7

The concerned Smart Field is “file” on the “document” collection.

---

<div class="post-metadata">

### Author: ![Sliman\_Medini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/sliman_medini/32/19_2.png) [@Sliman\_Medini](https://community.forestadmin.com/u/Sliman_Medini)
#### Post date: [January 27, 2022, 10:40am UTC](https://community.forestadmin.com/t/smart-field-showing-on-development-but-not-on-production/4101/2 "2022-01-27T10:40:09Z")

</div>

Hello @Houssam,

Are you able to see the smart field in layout edition mode?

In the example below, the “closed at” field is hidden and you can reveal it by clicking on the eye icon.

 ![Screenshot 2022-01-27 at 11.37.44](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/c/cf251d6aab5324239a47caa80a660c924a8e056e.png)

Regards

---

<div class="post-metadata">

### Author: ![Houssam](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@Houssam](https://community.forestadmin.com/u/Houssam)
#### Post date: [January 27, 2022, 10:58am UTC](https://community.forestadmin.com/t/smart-field-showing-on-development-but-not-on-production/4101/3 "2022-01-27T10:58:09Z")

</div>

The smart field is not visible in the layout edition mode (in production, while it is on development):  
On production:  
 ![Screenshot 2022-01-27 at 11.56.54 AM](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/2/29b0ff3a14b7f7a2a996cbc56937eff23c90f8ed.png)  
On development:  
 ![Screenshot 2022-01-27 at 11.56.26 AM](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/a/a09cc85cef9b1ba9b04ebab03c6a470909d0349e.png)  
(The field is hidden on purpose in the development screenshot, as this is the table view, it is displayed on the details view - available on the list for development but not production as well -)

---

<div class="post-metadata">

### Author: ![Houssam](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@Houssam](https://community.forestadmin.com/u/Houssam)
#### Post date: [January 28, 2022, 2:01pm UTC](https://community.forestadmin.com/t/smart-field-showing-on-development-but-not-on-production/4101/4 "2022-01-28T14:01:27Z")

</div>

Hello @Sliman_Medini, any update on this? 😅

---

<div class="post-metadata">

### Author: ![anon79585656](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@anon79585656](https://community.forestadmin.com/u/anon79585656)
#### Post date: [January 28, 2022, 4:11pm UTC](https://community.forestadmin.com/t/smart-field-showing-on-development-but-not-on-production/4101/5 "2022-01-28T16:11:51Z")

</div>

Hello @Houssam

After some investigation, I indeed saw your SmartField in the schema, and manually refreshed your layouts.  
I now see the “file” field in our internal layout representation, but it is configured as a file viewer for the Admin team, and has no custom widget for the Business team.

Do you notice any change on your hand?

Thank you for your patience.

---

<div class="post-metadata">

### Author: ![Houssam](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@Houssam](https://community.forestadmin.com/u/Houssam)
#### Post date: [January 31, 2022, 8:54am UTC](https://community.forestadmin.com/t/smart-field-showing-on-development-but-not-on-production/4101/6 "2022-01-31T08:54:15Z")

</div>

The issue was resolved without any change on my side, so I am guessing the manual refresh fixed the issue. Thank you!
