[{"data":1,"prerenderedAt":699,"buildId":700},["ShallowReactive",2],{"\u002Flibrary\u002Ffields":3,"\u002Flibrary\u002Ffields-surround":414,"navigation":425},{"id":4,"title":5,"body":6,"description":406,"extension":407,"meta":408,"navigation":409,"path":410,"seo":411,"stem":412,"__hash__":413},"docs\u002F2.library\u002F5.fields.md","Fields",{"type":7,"value":8,"toc":394},"minimark",[9,13,18,30,133,136,141,273,277,291,298,302,312,318,321,324,335,339,342,346,370,377,387],[10,11,12],"p",{},"Fields are details you define once and fill in per file: an invoice number, a due date, a status. You fill them in yourself, or let a workflow do it.",[14,15,17],"h2",{"id":16},"creating-a-field","Creating a field",[10,19,20,21,25,26,29],{},"Go to ",[22,23,24],"strong",{},"Settings › Fields"," and click ",[22,27,28],{},"New field",".",[31,32,33,46],"table",{},[34,35,36],"thead",{},[37,38,39,43],"tr",{},[40,41,42],"th",{},"Setting",[40,44,45],{},"What it does",[47,48,49,58,98,106,119],"tbody",{},[37,50,51,55],{},[52,53,54],"td",{},"Name",[52,56,57],{},"What you see in the file's details panel. Up to 100 characters.",[37,59,60,63],{},[52,61,62],{},"Key",[52,64,65,66,70,71,74,75,78,79,82,83,86,87,90,91,82,94,97],{},"Names the field in search filters (",[67,68,69],"code",{},"invoice-number:42",") and the API. Made from the name when left empty (",[67,72,73],{},"Invoice number"," becomes ",[67,76,77],{},"invoice-number","). Lowercase letters, digits, ",[67,80,81],{},"-"," and ",[67,84,85],{},"_",", up to 40 characters. ",[67,88,89],{},"tag",", ",[67,92,93],{},"type",[67,95,96],{},"in"," are kept for search's own filters.",[37,99,100,103],{},[52,101,102],{},"Type",[52,104,105],{},"What the field holds. See below.",[37,107,108,111],{},[52,109,110],{},"Choices",[52,112,113,114,118],{},"For a ",[115,116,117],"em",{},"Choice"," field, the values it can take. Up to 50.",[37,120,121,124],{},[52,122,123],{},"Include in search",[52,125,126,127,132],{},"Whether ",[128,129,131],"a",{"href":130},"\u002Flibrary\u002Fsearch","search"," finds files by the words in this field. On by default, except for links. Shown for text, long text, choice, list and link fields.",[10,134,135],{},"You can have up to 100 fields.",[137,138,140],"h3",{"id":139},"types","Types",[31,142,143,155],{},[34,144,145],{},[37,146,147,149,152],{},[40,148,102],{},[40,150,151],{},"Holds",[40,153,154],{},"Accepts",[47,156,157,168,178,192,206,235,245,256],{},[37,158,159,162,165],{},[52,160,161],{},"Text",[52,163,164],{},"One line, up to 1,000 characters",[52,166,167],{},"Any text",[37,169,170,173,176],{},[52,171,172],{},"Long text",[52,174,175],{},"Up to 20,000 characters",[52,177,167],{},[37,179,180,183,186],{},[52,181,182],{},"Number",[52,184,185],{},"A number",[52,187,188,191],{},[67,189,190],{},"12.5",", or text that reads as a number",[37,193,194,197,200],{},[52,195,196],{},"Date",[52,198,199],{},"A day, without a time",[52,201,202,205],{},[67,203,204],{},"2026-12-01",", or a date and time (the time is dropped)",[37,207,208,211,214],{},[52,209,210],{},"Yes or no",[52,212,213],{},"True or false",[52,215,216,219,220,90,223,219,226,90,229,219,232],{},[67,217,218],{},"true","\u002F",[67,221,222],{},"false",[67,224,225],{},"yes",[67,227,228],{},"no",[67,230,231],{},"1",[67,233,234],{},"0",[37,236,237,239,242],{},[52,238,117],{},[52,240,241],{},"One of the field's choices",[52,243,244],{},"A choice, ignoring case",[37,246,247,250,253],{},[52,248,249],{},"List",[52,251,252],{},"Up to 50 items of up to 200 characters",[52,254,255],{},"A list, or a single item",[37,257,258,261,264],{},[52,259,260],{},"Link",[52,262,263],{},"A web address, up to 2,048 characters",[52,265,266,82,269,272],{},[67,267,268],{},"http",[67,270,271],{},"https"," addresses",[14,274,276],{"id":275},"filling-in-fields","Filling in fields",[10,278,279,280,282,283,286,287,290],{},"Select a file and find ",[22,281,5],{}," in its details panel. Fields with a value are listed. ",[22,284,285],{},"Add field"," shows the rest; pick one to fill it in. Changes save when you leave the box (or right away for switches, choices and lists). The ",[22,288,289],{},"×"," clears a value.",[10,292,293,294,29],{},"When a workflow or an API token set a value, a line under it says which, and when. Workflows leave values you set alone by default; see ",[128,295,297],{"href":296},"\u002Freference\u002Fsteps#set-field","Set field",[14,299,301],{"id":300},"changing-or-deleting-a-field","Changing or deleting a field",[10,303,304,307,308,311],{},[22,305,306],{},"Edit"," in a field's menu changes its name, key, type or choices. When you change the type or remove a choice, values that still fit are converted (",[67,309,310],{},"42"," in a text field becomes the number 42). If some don't fit, Avenvail tells you how many and offers to clear them; nothing is cleared until you agree.",[10,313,314,317],{},[22,315,316],{},"Delete"," removes the field and its value on every file.",[14,319,123],{"id":320},"include-in-search",[10,322,323],{},"Values of text, long text, choice and list fields are searchable by default, so a workflow that writes alt text or a summary into a field makes those files findable by their words. Link fields start with it off, because addresses rarely help. Number, date and yes\u002Fno fields aren't searched by word; filter by them instead.",[10,325,326,327,329,330,334],{},"Turning ",[22,328,123],{}," off removes the field's words from search right away and keeps them out. Turning it on adds every value the field already has. Either way the values themselves are kept, workflows see them as before, and ",[128,331,333],{"href":332},"#filtering-by-a-field","filtering by the field"," still works.",[14,336,338],{"id":337},"who-sees-fields","Who sees fields",[10,340,341],{},"Only you. Fields are never shown on share pages.",[14,343,345],{"id":344},"filtering-by-a-field","Filtering by a field",[10,347,348,349,352,353,356,357,360,361,364,365,369],{},"On ",[22,350,351],{},"Files",", choose ",[22,354,355],{},"Filters"," and pick the field, or type its key in the search box, such as ",[67,358,359],{},"invoice-number:INV-42"," or ",[67,362,363],{},"rating>3",". Text fields match words, choice and list fields match a choice or item, and number and date fields can also be compared. ",[128,366,368],{"href":367},"\u002Flibrary\u002Fsearch#filters","Search"," lists every form.",[10,371,372,373,376],{},"The file list API also filters by fields with ",[67,374,375],{},"field.\u003Cfield id>=\u003Cvalue>",", up to 10 at once:",[378,379,385],"pre",{"className":380,"code":382,"language":383,"meta":384},[381],"language-text","GET \u002Fapi\u002Fv1\u002Ffiles?field.0192…=INV-42\nGET \u002Fapi\u002Fv1\u002Ffiles?field.0192…=          # any file where the field has a value\n","text","",[67,386,382],{"__ignoreMap":384},[10,388,389,390,393],{},"Text and choice fields match ignoring case. Number and date fields match exactly (dates as ",[67,391,392],{},"yyyy-MM-dd","). A list field matches files whose list contains the item.",{"title":384,"searchDepth":395,"depth":396,"links":397},2,3,[398,401,402,403,404,405],{"id":16,"depth":395,"text":17,"children":399},[400],{"id":139,"depth":396,"text":140},{"id":275,"depth":395,"text":276},{"id":300,"depth":395,"text":301},{"id":320,"depth":395,"text":123},{"id":337,"depth":395,"text":338},{"id":344,"depth":395,"text":345},"Keep your own details on files, such as an invoice number or a due date, and filter by them.","md",{},true,"\u002Flibrary\u002Ffields",{"title":5,"description":406},"2.library\u002F5.fields","IURR4f9QTN7CRb6ZQcxnEWX-ZyF_L8mSOt3HLeL7PSw",[415,420],{"title":416,"path":417,"stem":418,"description":419,"children":-1},"Tags","\u002Flibrary\u002Ftags","2.library\u002F4.tags","Label files with tags, filter by them, and rename, merge or delete them.",{"title":421,"path":422,"stem":423,"description":424,"children":-1},"Attachments","\u002Flibrary\u002Fattachments","2.library\u002F6.attachments","Text kept with a file, such as OCR results or notes, that you can read, download and search.",[426,446,474,518,529,548,559,602,637,651,667],{"title":427,"path":428,"stem":429,"children":430,"icon":445},"Getting started","\u002Fgetting-started","1.getting-started\u002F1.index",[431,433,437,441],{"title":432,"path":428,"stem":429},"Introduction",{"title":434,"path":435,"stem":436},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":438,"path":439,"stem":440},"Configure ShareX","\u002Fgetting-started\u002Fsharex","1.getting-started\u002F3.sharex",{"title":442,"path":443,"stem":444},"Updating Avenvail","\u002Fgetting-started\u002Fupdating","1.getting-started\u002F4.updating","i-lucide-rocket",{"title":447,"icon":448,"path":449,"stem":450,"children":451,"page":473},"Library","i-lucide-folder","\u002Flibrary","2.library",[452,456,460,464,465,466,467,469],{"title":453,"path":454,"stem":455},"Uploading files","\u002Flibrary\u002Fuploading","2.library\u002F1.uploading",{"title":457,"path":458,"stem":459},"Files and folders","\u002Flibrary\u002Ffiles-and-folders","2.library\u002F2.files-and-folders",{"title":461,"path":462,"stem":463},"Sharing files","\u002Flibrary\u002Fsharing","2.library\u002F3.sharing",{"title":416,"path":417,"stem":418},{"title":5,"path":410,"stem":412},{"title":421,"path":422,"stem":423},{"title":368,"path":130,"stem":468},"2.library\u002F7.search",{"title":470,"path":471,"stem":472},"Trash and recovery","\u002Flibrary\u002Ftrash","2.library\u002F8.trash",false,{"title":475,"path":476,"stem":477,"children":478,"icon":517},"Automations","\u002Fautomations","3.automations\u002F01.index",[479,481,485,489,493,497,501,505,509,513],{"title":480,"path":476,"stem":477},"Overview",{"title":482,"path":483,"stem":484},"Your first workflow","\u002Fautomations\u002Ffirst-workflow","3.automations\u002F02.first-workflow",{"title":486,"path":487,"stem":488},"The editor","\u002Fautomations\u002Feditor","3.automations\u002F03.editor",{"title":490,"path":491,"stem":492},"Values and templates","\u002Fautomations\u002Fvalues","3.automations\u002F04.values",{"title":494,"path":495,"stem":496},"Conditions and branching","\u002Fautomations\u002Fbranching","3.automations\u002F05.branching",{"title":498,"path":499,"stem":500},"Upload intake","\u002Fautomations\u002Fintake","3.automations\u002F06.intake",{"title":502,"path":503,"stem":504},"Testing","\u002Fautomations\u002Ftesting","3.automations\u002F07.testing",{"title":506,"path":507,"stem":508},"Runs and history","\u002Fautomations\u002Fruns","3.automations\u002F08.runs",{"title":510,"path":511,"stem":512},"Quarantine and failures","\u002Fautomations\u002Fquarantine","3.automations\u002F09.quarantine",{"title":514,"path":515,"stem":516},"Workflow templates","\u002Fautomations\u002Ftemplates","3.automations\u002F10.templates","i-lucide-workflow",{"title":519,"path":520,"stem":521,"children":522,"icon":528},"Connections","\u002Fconnections","4.connections\u002F1.index",[523,524],{"title":480,"path":520,"stem":521},{"title":525,"path":526,"stem":527},"AI providers","\u002Fconnections\u002Fai-providers","4.connections\u002F2.ai-providers","i-lucide-plug",{"title":530,"path":531,"stem":532,"children":533,"icon":547},"AI","\u002Fai","5.ai\u002F1.index",[534,535,539,543],{"title":480,"path":531,"stem":532},{"title":536,"path":537,"stem":538},"AI classify and extract","\u002Fai\u002Fclassify-and-extract","5.ai\u002F2.classify-and-extract",{"title":540,"path":541,"stem":542},"AI describe, summarize and write","\u002Fai\u002Fdescribe-and-write","5.ai\u002F3.describe-and-write",{"title":544,"path":545,"stem":546},"AI detect and suggest tags","\u002Fai\u002Fdetect-and-tag","5.ai\u002F4.detect-and-tag","i-lucide-sparkles",{"title":549,"path":550,"stem":551,"children":552,"icon":558},"OCR","\u002Focr","5.ocr\u002F1.index",[553,554],{"title":480,"path":550,"stem":551},{"title":555,"path":556,"stem":557},"Setup","\u002Focr\u002Fsetup","5.ocr\u002F2.setup","i-lucide-scan-text",{"title":560,"path":561,"stem":562,"children":563,"icon":601},"Self-hosting","\u002Fself-hosting","6.self-hosting\u002F1.index",[564,565,569,573,577,581,585,589,593,597],{"title":480,"path":561,"stem":562},{"title":566,"path":567,"stem":568},"Troubleshooting","\u002Fself-hosting\u002Ftroubleshooting","6.self-hosting\u002F10.troubleshooting",{"title":570,"path":571,"stem":572},"Configuration","\u002Fself-hosting\u002Fconfiguration","6.self-hosting\u002F2.configuration",{"title":574,"path":575,"stem":576},"Reverse proxies and HTTPS","\u002Fself-hosting\u002Freverse-proxy","6.self-hosting\u002F3.reverse-proxy",{"title":578,"path":579,"stem":580},"DigitalOcean","\u002Fself-hosting\u002Fdigitalocean","6.self-hosting\u002F4.digitalocean",{"title":582,"path":583,"stem":584},"Backups and restoration","\u002Fself-hosting\u002Fbackups","6.self-hosting\u002F5.backups",{"title":586,"path":587,"stem":588},"Users and roles","\u002Fself-hosting\u002Fusers","6.self-hosting\u002F6.users",{"title":590,"path":591,"stem":592},"Single sign-on","\u002Fself-hosting\u002Fsingle-sign-on","6.self-hosting\u002F7.single-sign-on",{"title":594,"path":595,"stem":596},"Two-factor and passkeys","\u002Fself-hosting\u002Ftwo-factor-and-passkeys","6.self-hosting\u002F8.two-factor-and-passkeys",{"title":598,"path":599,"stem":600},"Importing","\u002Fself-hosting\u002Fimporting","6.self-hosting\u002F9.importing","i-lucide-server",{"title":603,"path":604,"stem":605,"children":606,"icon":636},"Guides","\u002Fguides","7.guides\u002F1.index",[607,608,612,616,620,624,628,632],{"title":480,"path":604,"stem":605},{"title":609,"path":610,"stem":611},"Optimize ShareX uploads","\u002Fguides\u002Fcompress-uploads","7.guides\u002F2.compress-uploads",{"title":613,"path":614,"stem":615},"Send Discord notifications","\u002Fguides\u002Fdiscord-notifications","7.guides\u002F3.discord-notifications",{"title":617,"path":618,"stem":619},"Organize screenshots with AI","\u002Fguides\u002Fcategorize-screenshots","7.guides\u002F4.categorize-screenshots",{"title":621,"path":622,"stem":623},"Extract receipts with AI","\u002Fguides\u002Fextract-receipts","7.guides\u002F5.extract-receipts",{"title":625,"path":626,"stem":627},"Name screenshots with AI","\u002Fguides\u002Fai-file-names","7.guides\u002F6.ai-file-names",{"title":629,"path":630,"stem":631},"Run AI locally with Ollama","\u002Fguides\u002Flocal-ai-ollama","7.guides\u002F7.local-ai-ollama",{"title":633,"path":634,"stem":635},"Make screenshots searchable","\u002Fguides\u002Fsearchable-screenshots","7.guides\u002F8.searchable-screenshots","i-lucide-book-open",{"title":638,"icon":639,"path":640,"stem":641,"children":642,"page":473},"Reference","i-lucide-library","\u002Freference","8.reference",[643,647],{"title":644,"path":645,"stem":646},"Step reference","\u002Freference\u002Fsteps","8.reference\u002F1.steps",{"title":648,"path":649,"stem":650},"Limits and errors","\u002Freference\u002Flimits","8.reference\u002F2.limits",{"title":652,"path":653,"stem":654,"children":655,"icon":666},"Development","\u002Fdevelopment","9.development\u002F1.index",[656,658,662],{"title":657,"path":653,"stem":654},"Local development",{"title":659,"path":660,"stem":661},"Plugin development","\u002Fdevelopment\u002Fplugins","9.development\u002F2.plugins",{"title":663,"path":664,"stem":665},"Writing documentation","\u002Fdevelopment\u002Fdocumentation","9.development\u002F3.documentation","i-lucide-code",{"title":668,"path":669,"stem":670,"children":671,"icon":698},"Comparisons","\u002Fcomparisons","99.comparisons\u002F1.index",[672,674,678,682,686,690,694],{"title":673,"path":669,"stem":670},"Comparing Avenvail",{"title":675,"path":676,"stem":677},"Avenvail and Zipline","\u002Fcomparisons\u002Fzipline","99.comparisons\u002F2.zipline",{"title":679,"path":680,"stem":681},"Avenvail and XBackBone","\u002Fcomparisons\u002Fxbackbone","99.comparisons\u002F3.xbackbone",{"title":683,"path":684,"stem":685},"Avenvail and chibisafe","\u002Fcomparisons\u002Fchibisafe","99.comparisons\u002F4.chibisafe",{"title":687,"path":688,"stem":689},"Avenvail and Slink","\u002Fcomparisons\u002Fslink","99.comparisons\u002F5.slink",{"title":691,"path":692,"stem":693},"Avenvail and Pingvin Share","\u002Fcomparisons\u002Fpingvin-share","99.comparisons\u002F6.pingvin-share",{"title":695,"path":696,"stem":697},"Avenvail and PicoShare","\u002Fcomparisons\u002Fpicoshare","99.comparisons\u002F7.picoshare","i-lucide-scale",1796307525105,"dedf49b8-a40d-4148-af64-03be4eab20c1"]