# \#agent

**URL:** https://community.forestadmin.com/tag/agent/32.md

[Latest](https://community.forestadmin.com/latest.md) · [Categories](https://community.forestadmin.com/categories.md) · [Tags](https://community.forestadmin.com/tags.md)

---

## [Smart view missing in all environments](https://community.forestadmin.com/t/smart-view-missing-in-all-environments/7993)

<div class="topic-metadata">

**Author:** [@richw-kai](https://community.forestadmin.com/u/richw-kai)\
**Replies:** 6\
**Last updated:** [March 26, 2025, 9:12am UTC](https://community.forestadmin.com/t/smart-view-missing-in-all-environments/7993 "2025-03-26T09:12:07Z")

</div>

Feature(s) impacted Smart view of a collection not available Observed behavior I created a new smart view on a collection in development, released the schema changes associated to our test environment but the smart vi…

---

## [Has anyone tried FA on deno?](https://community.forestadmin.com/t/has-anyone-tried-fa-on-deno/7663)

<div class="topic-metadata">

**Author:** [@kll](https://community.forestadmin.com/u/kll)\
**Replies:** 9\
**Last updated:** [December 17, 2024, 4:46pm UTC](https://community.forestadmin.com/t/has-anyone-tried-fa-on-deno/7663 "2024-12-17T16:46:13Z")

</div>

(Sorry about not following the template, kind of asking something different) Since the new JS agent is very typey and nice to use, we’re considering switching to deno for various reasons which would turn this post into …

---

## [Help me type my custom API with the schema](https://community.forestadmin.com/t/help-me-type-my-custom-api-with-the-schema/7701)

<div class="topic-metadata">

**Author:** [@kll](https://community.forestadmin.com/u/kll)\
**Replies:** 10\
**Last updated:** [December 12, 2024, 1:29pm UTC](https://community.forestadmin.com/t/help-me-type-my-custom-api-with-the-schema/7701 "2024-12-12T13:29:43Z")

</div>

Feature(s) impacted Development with TypeScript. Observed behavior I’m having trouble with the following type: interface MyType\< S extends TSchema, N extends TCollectionName\<S\> = TCollectionName\<S\>, F extends TFi…

---

## [Can I create a reference in a replica data source to a different data source?](https://community.forestadmin.com/t/can-i-create-a-reference-in-a-replica-data-source-to-a-different-data-source/7689)

<div class="topic-metadata">

**Author:** [@richw-kai](https://community.forestadmin.com/u/richw-kai)\
**Replies:** 1\
**Last updated:** [December 6, 2024, 9:10am UTC](https://community.forestadmin.com/t/can-i-create-a-reference-in-a-replica-data-source-to-a-different-data-source/7689 "2024-12-06T09:10:06Z")

</div>

Feature(s) impacted I have a replica datasource with a schema defined, and a Sequelize datasource operating too. I’m trying to create a reference between the replica datasource and Sequelize and can’t get the configurat…

---

## [Relation between data sources on different types](https://community.forestadmin.com/t/relation-between-data-sources-on-different-types/7676)

<div class="topic-metadata">

**Author:** [@richw-kai](https://community.forestadmin.com/u/richw-kai)\
**Replies:** 2\
**Last updated:** [December 2, 2024, 4:19pm UTC](https://community.forestadmin.com/t/relation-between-data-sources-on-different-types/7676 "2024-12-02T16:19:49Z")

</div>

Feature(s) impacted adding a relation between two different data sources Observed behavior I would like to relate data between a sequelize postgres data source and a mongo db data source, but I have no control over …

---

## [Use user-defined segment in a plugin](https://community.forestadmin.com/t/use-user-defined-segment-in-a-plugin/7556)

<div class="topic-metadata">

**Author:** [@kll](https://community.forestadmin.com/u/kll)\
**Replies:** 6\
**Last updated:** [October 22, 2024, 12:59pm UTC](https://community.forestadmin.com/t/use-user-defined-segment-in-a-plugin/7556 "2024-10-22T12:59:23Z")

</div>

Feature(s) impacted Using the FA API with segments inside a plugin. Observed behavior I have segments defined both in the backend and in the front-end. However, only segments created on the backend via addSegment calls…

---

## [\`getValues\` parameter and return value typing](https://community.forestadmin.com/t/getvalues-parameter-and-return-value-typing/7273)

<div class="topic-metadata">

**Author:** [@kll](https://community.forestadmin.com/u/kll)\
**Replies:** 0\
**Last updated:** [June 26, 2024, 1:10pm UTC](https://community.forestadmin.com/t/getvalues-parameter-and-return-value-typing/7273 "2024-06-26T13:10:17Z")

</div>

What is the feature? Right now, getValues is a method on which the records parameter is TRow\<S, N\>\[\]. It’s pretty fine (autocompletion yay!), but misleading: the contents of the records are actually partial records as d…

---

## [How to get logged in User details in Nestjs agent?](https://community.forestadmin.com/t/how-to-get-logged-in-user-details-in-nestjs-agent/7220)

<div class="topic-metadata">

**Author:** [@Nader\_Kanounji](https://community.forestadmin.com/u/Nader_Kanounji)\
**Replies:** 3\
**Last updated:** [May 17, 2024, 10:52am UTC](https://community.forestadmin.com/t/how-to-get-logged-in-user-details-in-nestjs-agent/7220 "2024-05-17T10:52:38Z")

</div>

I am using ForestAdmin agent mounted on Nestjs, and I need to access the logged in User details (email or name) when they hit certain actions that I am customizing. Is that possible? Context Here is my agent setup and c…

---

## [How to create smart relation in forestadmin/agent](https://community.forestadmin.com/t/how-to-create-smart-relation-in-forestadmin-agent/7197)

<div class="topic-metadata">

**Author:** [@NathanLe](https://community.forestadmin.com/u/NathanLe)\
**Replies:** 1\
**Last updated:** [April 30, 2024, 7:31am UTC](https://community.forestadmin.com/t/how-to-create-smart-relation-in-forestadmin-agent/7197 "2024-04-30T07:31:18Z")

</div>

Feature(s) impacted Hello, I am trying to migrate smart relationship from forest-express-mongoose v9 to forestadmin/agent. I want to have a smart field reference to other collection and following this v9 document col…

---

## [Node.js Agent – Filter result depending on the current signed-in user](https://community.forestadmin.com/t/node-js-agent-filter-result-depending-on-the-current-signed-in-user/7082)

<div class="topic-metadata">

**Author:** [@Aurel](https://community.forestadmin.com/u/Aurel)\
**Replies:** 5\
**Last updated:** [March 11, 2024, 4:12pm UTC](https://community.forestadmin.com/t/node-js-agent-filter-result-depending-on-the-current-signed-in-user/7082 "2024-03-11T16:12:40Z")

</div>

Hello all :waving\_hand: I’m currently adding a backend to a project of mine, using the Node.js agent. The project uses different user accounts, and I would like to add some “filtering” depending on the current sign-in u…

---

## [Php agent 2.1.2 - Your configuration files are not serializable on php artisan optimize](https://community.forestadmin.com/t/php-agent-2-1-2-your-configuration-files-are-not-serializable-on-php-artisan-optimize/6951)

<div class="topic-metadata">

**Author:** [@EFGP](https://community.forestadmin.com/u/EFGP)\
**Replies:** 9\
**Last updated:** [February 13, 2024, 10:10am UTC](https://community.forestadmin.com/t/php-agent-2-1-2-your-configuration-files-are-not-serializable-on-php-artisan-optimize/6951 "2024-02-13T10:10:02Z")

</div>

When doing a migration from the v1 laravel forestadmin agent to v2. Used php artisan forest:install to initiate the config file. Left as default, manages to run through the database schema build process itself. When ru…

---

## [PHP Agent - Alias for tables via Doctrine](https://community.forestadmin.com/t/php-agent-alias-for-tables-via-doctrine/6950)

<div class="topic-metadata">

**Author:** [@EFGP](https://community.forestadmin.com/u/EFGP)\
**Replies:** 11\
**Last updated:** [January 15, 2024, 5:08pm UTC](https://community.forestadmin.com/t/php-agent-alias-for-tables-via-doctrine/6950 "2024-01-15T17:08:17Z")

</div>

Hi, We’re in the process of migrating from the v1.\* to v2 for the php / laravel agent. We have some tables named in a way that don’t adhere to the default doctrine schemas, e.g. Doctrine\\DBAL\\Schema\\Exception\\TableDo…

---

## [Forest agent stucked in a previous version](https://community.forestadmin.com/t/forest-agent-stucked-in-a-previous-version/6910)

<div class="topic-metadata">

**Author:** [@fletoxIsHere](https://community.forestadmin.com/u/fletoxIsHere)\
**Replies:** 1\
**Last updated:** [December 14, 2023, 7:33am UTC](https://community.forestadmin.com/t/forest-agent-stucked-in-a-previous-version/6910 "2023-12-14T07:33:31Z")

</div>

Feature(s) impacted forest agent Observed behavior having the red banner of update required Problem we did the migration to v8 from v7 a few months ago and was perfectly done, but in this week we rollback the project t…

---

## [Default logger prints colors on non-interactive shells](https://community.forestadmin.com/t/default-logger-prints-colors-on-non-interactive-shells/6813)

<div class="topic-metadata">

**Author:** [@Romain\_Gilliotte](https://community.forestadmin.com/u/Romain_Gilliotte)\
**Replies:** 0\
**Last updated:** [November 3, 2023, 11:11am UTC](https://community.forestadmin.com/t/default-logger-prints-colors-on-non-interactive-shells/6813 "2023-11-03T11:11:26Z")

</div>

What is the feature? When using the default forest admin logger, colors are used to make the logs easier to read on a terminal when working on new features. However, when in production logs are piped into files / databa…

---

## [Staging Environment Agent Unreachable](https://community.forestadmin.com/t/staging-environment-agent-unreachable/6408)

<div class="topic-metadata">

**Author:** [@aellxx](https://community.forestadmin.com/u/aellxx)\
**Replies:** 3\
**Last updated:** [June 30, 2023, 11:49am UTC](https://community.forestadmin.com/t/staging-environment-agent-unreachable/6408 "2023-06-30T11:49:06Z")

</div>

Observed behavior When I run npm start and navigate to my Production, Test, and Development environments, I can see the data displaying properly. However, the Staging environment does not work and returns the page …

---

## [ForestAgent-NodeJS : How to access the context to identify user in a 3rd party tool (like Sentry)](https://community.forestadmin.com/t/forestagent-nodejs-how-to-access-the-context-to-identify-user-in-a-3rd-party-tool-like-sentry/6245)

<div class="topic-metadata">

**Author:** [@ajubin](https://community.forestadmin.com/u/ajubin)\
**Replies:** 5\
**Last updated:** [May 3, 2023, 3:33pm UTC](https://community.forestadmin.com/t/forestagent-nodejs-how-to-access-the-context-to-identify-user-in-a-3rd-party-tool-like-sentry/6245 "2023-05-03T15:33:22Z")

</div>

Feature(s) impacted I’m using the forestadmin/agent mounted on an express app (only the admin is running on this app though) and I’m setting up Sentry to monitor perf and bugs. I want to identify the user doing the requ…

---

## [Forestadmin-schema.json isn't regenerating](https://community.forestadmin.com/t/forestadmin-schema-json-isnt-regenerating/6083)

<div class="topic-metadata">

**Author:** [@annek](https://community.forestadmin.com/u/annek)\
**Replies:** 8\
**Last updated:** [March 30, 2023, 12:50pm UTC](https://community.forestadmin.com/t/forestadmin-schema-json-isnt-regenerating/6083 "2023-03-30T12:50:06Z")

</div>

Hello I don’t know why but my .forestadmin-schema.json isn’t getting updated anymore automatically… I have no error in the ouput or anywhere else and my NODE\_ENV= dev What could be the problem ? Thank you
