# ▣🔗 Asset Link - Use-case Drive

**URL:** <https://farmos.discourse.group/t/asset-link-use-case-drive/1516>\
**Category:** Development\
**Created:** [February 8, 2023, 7:19pm UTC](https://farmos.discourse.group/t/asset-link-use-case-drive/1516 "2023-02-08T19:19:00Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![Symbioquine](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/symbioquine/32/284_2.png) [@Symbioquine](https://farmos.discourse.group/u/Symbioquine)\
**Post date:** [February 10, 2023, 4:10pm UTC](https://farmos.discourse.group/t/asset-link-use-case-drive/1516/22 "2023-02-10T16:10:10Z")

</div>

> [@Symbioquine](#):
>
> I did a rudimentary port of the [Pasture Condition Score quick form](https://github.com/mstenta/farm_nrcs/blob/aacb38984ab53dfa2e5a45fb4b6ee738052016f8/modules/quick_pcs/src/Plugin/QuickForm/PCS.php) ([context](https://farmos.discourse.group/t/pasture-condition-scores/1520)) to an Asset Link plugin:
> 
> [**RecordPastureConditionScore.alink.vue**](https://gist.github.com/symbioquine/5fdd2b8a2bbe5fc099c25714a7ea927f#file-recordpastureconditionscore-alink-vue)
> 
> _Note: I didn’t include the date field, but that would be trivial to add - just a [QDate widget](https://quasar.dev/vue-components/date) whose output gets formatted as RFC3339 and passed as part of creating the observation log._

I updated this to include the date field and fix a bug where the scores were being recorded as “count” rather than “value” measures.

[https://user-images.githubusercontent.com/30754460/218139303-e2adba13-f246-4451-b405-9a1fa3104668.webm](https://user-images.githubusercontent.com/30754460/218139303-e2adba13-f246-4451-b405-9a1fa3104668.webm)

---

_[View the full topic](https://farmos.discourse.group/t/asset-link-use-case-drive/1516)._
