---
title: URL Fields
slug: netsuite/url-fields
description: Learn how to pass field parameters and their values in the Button URL in this document. Find out how to attach fields to the URL using the '&' symbol and separate the parameter name and value with the '=' symbol. Explore examples of using a Salesforce fie
docTags: 
createdAt: 2021-10-28T13:05:22.000Z
---

The structure of passing field params and their values in the Button URL is as follows:

`&` will be used to attach your field to the Button URL

So, start with `&` when adding new fields as a part of Button URL, and then use the param name (we have provided the param names for different transactions in their respective docs) followed by assignment operator `=` and then the param value (field or static)

NetSuite has various field types. We can use two different ways to send the param value based on the field type:

- Salesforce Field as param value
- Static param value

### Using Salesforce Field as param value

:::CodeblockTabs
Button URL

```css
&department=department_api_field__c
```
:::

### Using Static param value

:::CodeblockTabs
Button URL

```css
&department=123
```
:::

The below table will guide you about how different field types can be passed

| NetSuite Field Type | Param Value (Field) | Param Value (Static)                                             |
| ------------------- | ------------------- | ---------------------------------------------------------------- |
| Data                | Yes                 | No                                                               |
| DateTime            | Yes                 | No                                                               |
| Text                | Yes                 | No                                                               |
| Reference (Lookup)  | Yes                 | Yes ([Picklist and Lookup Fields](docId\:NPMuG65AAErrGMIKO1T9t)) |
| TextArea            | Yes                 | No                                                               |
| Numeric             | Yes                 | Yes                                                              |

