https://github.com/gyokaynurvet/SierraLibrary
Excel custom functions add-in for SIERRA LMS.
https://github.com/gyokaynurvet/SierraLibrary
c-sharp csharp excel excel-addin excel-custom-functions excel-customfunctions excel-dna innovative-interfaces library-management-system proquest sierra sierra-api
Last synced: 5 months ago
JSON representation
Excel custom functions add-in for SIERRA LMS.
- Host: GitHub
- URL: https://github.com/gyokaynurvet/SierraLibrary
- Owner: gyokaynurvet
- License: mit
- Created: 2020-03-12T13:02:08.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T09:54:40.000Z (over 2 years ago)
- Last Synced: 2024-08-03T22:17:41.013Z (8 months ago)
- Topics: c-sharp, csharp, excel, excel-addin, excel-custom-functions, excel-customfunctions, excel-dna, innovative-interfaces, library-management-system, proquest, sierra, sierra-api
- Language: C#
- Homepage:
- Size: 54.7 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - gyokaynurvet/SierraLibrary - Excel custom functions add-in for SIERRA LMS. (C# #)
README
# SierraLibrary
[](https://dotnet.microsoft.com/download/dotnet-framework/net452) [](https://products.office.com/en/excel) [](https://www.iii.com/products/sierra-ils/)
# About
**SierraFunctions** class implements functions to make [Sierra Apis](https://techdocs.iii.com/sierraapi/Content/titlePage.htm#)
call using [Excel-DNA](https://excel-dna.net/)[](http://www.youtube.com/watch?v=HxxHATdl4YQ "Excel custom functions")
# Build
Clone repo in **VS2019** and change **base_url** and **header_basic_auth** in SierraFunctions class according to
[SIERRA API Documentation](https://techdocs.iii.com/sierraapi/Content/zTutorials/tutAuthenticate.htm) then build.# Installation
Open **Excel** then click on **Developer** tab and click **Excel Add-ins** button.
Click **Browse...** button. Select **SierraLibrary-AddIn.xll** file in **SierraLibrary\bin\Release** directory.[](https://freeimage.host/i/excel1.JHGRRe)
After install **Excel Add-ins** you can see all implemented functions in **sierra** category.
[](https://freeimage.host/i/excel2.JHGliQ)
# Functions
- [About()](#About)
- [GetToken()](#GetToken)
- [Barcode2Id()](#Barcode2Id)
- [Barcode2Name()](#Barcode2Name)
- [Barcode2Email()](#Barcode2Email)
- [Barcode2PatronType()](#Barcode2PatronType)
- [Barcode2MoneyOwed()](#Barcode2MoneyOwed)
- [Barcode2CheckoutItems()](#Barcode2CheckoutItems)
- [Item2BibId()](#Item2BibId)
- [BibId2Title()](./README.md#BibId2Title)##### About()
Returns author information.Sample usage: =About()
[](https://freeimage.host/i/about1.JHGE0B)
##### GetToken()
Returns token.Sample usage: =GetToken()
Sample output in Postman
```
{
"access_token": "v0Qvd3EscNjMPF9zH606RebLuOaVrTuG6Bs9Vf1_cPFxRKCJPWSbTPOlTOi-bLF17Hcl-8-A2UdTvyMhZfIDATYKLgnh5y_02xNqYq9PGIQ",
"token_type": "bearer",
"expires_in": 3600
}
```##### Barcode2Id()
Returns patron id by barcode.Sample usage: = Barcode2Id("1845")
[](https://freeimage.host/i/excel3.JHGwzJ)
[](https://freeimage.host/i/excel4.JHGNWv)
[](https://freeimage.host/i/excel6.JHGkfp)
##### Barcode2Name()
Returns patron name by barcode.Sample usage: =Barcode2Name("1845")
[](https://freeimage.host/i/barcode2name.JHG8gI)
[](https://freeimage.host/i/barcode2name1.JHGUJt)
[](https://freeimage.host/i/barcode2name2.JHGg5X)
##### Barcode2Email()
Returns patron e-mail by barcode.Sample usage: =Barcode2Email("1845")
[](https://freeimage.host/i/barcode2email.JHGren)
[](https://freeimage.host/i/barcode2email1.JHG4bs)
[](https://freeimage.host/i/barcode2email2.JHGiXf)
##### Barcode2PatronType()
Returns patron type by barcode.Sample usage: =Barcode2PatronType("1845")
[](https://freeimage.host/i/barcode2patrontype.JHGQql)
[](https://freeimage.host/i/barcode2patrontype1.JHGZ12)
[](https://freeimage.host/i/barcode2patrontype2.JHGtgS)
##### Barcode2MoneyOwed()
Returns patron money owed by barcode.Sample usage: =Barcode2MoneyOwed("1845")
[](https://freeimage.host/i/money.JHGm79)
[](https://freeimage.host/i/money1.JHGpee)
[](https://freeimage.host/i/money2.JHGymu)
##### Barcode2CheckoutItems()
Returns checkout items by barcode.Sample usage: =Barcode2CheckoutItems("1845")
[](https://freeimage.host/i/checkout.JHMdLx)
[](https://freeimage.host/i/checkout1.JHMF1V)
[](https://freeimage.host/i/checkout2.JHMnmg)
##### Item2BibId()
Returns bib id by item.Sample usage: =Item2BibId("1136526")
[](https://freeimage.host/i/item2bib.JHMzhJ)
[](https://freeimage.host/i/item2bib1.JHMILv)
[](https://freeimage.host/i/item2bib2.JHMuBR)
##### BibId2Title()
Returns title by bib id.Sample usage: =BibId2Title("1159654")
[](https://freeimage.host/i/bib2title.JHMA1p)
[](https://freeimage.host/i/bib2title1.JHM72I)
[](https://freeimage.host/i/bib2title2.JHMY7t)
----License
----Copyright (c) [Gyokay Nurvet Mustafa](https://gyokay.cloud/). All rights reserved.
Licensed under the [MIT](https://github.com/gyokaynurvet/SierraLibrary/blob/master/LICENSE) License.
**Free Software**
Made with ❤ in Turkey
[//]: # (References)
[//]: # (https://dillinger.io/ Online Markdown editor)
[//]: # (https://freeimage.host/ Free image hosting [email protected] Google Login)
[//]: # (https://techdocs.iii.com/sierraapi/Content/titlePage.htm#)
[//]: # (https://excel-dna.net/)
[//]: # (https://techdocs.iii.com/sierraapi/Content/zTutorials/tutAuthenticate.htm)