SlideShare a Scribd company logo
1 of 21
How to code GRIN-Global Wizards
October 10, 2017 – GRIN-Global & Genesys Workshop
C I M M Y T - S T A T E O F M E X I C O , T E X C O C O M E X I C O
Carlos Velasquez (CIP) & Edwin Rojas (CIP)
GG Developers
Agenda
• CIP Wizards: Screenshots and Diagram of sequences (15 mins)
• Pre-requisites in your Laptop to code Wizards or run Curator Tool source code (30 mins)
• Requirements to Create GRIN-Global Wizards (5 mins)
• How to Create a HelloWorld Wizard (30 mins)
• Overview
• Steps to develop HelloWorld Wizard
• Understanding the parameter SharedUtils
• Understanding the parameter pKeys
• Steps to test HelloWorld Wizard
• Questions to Participants (10 mins)
• How to Create a Welcome Wizard (1 hour)
• Overview
• Steps to develop Welcome Wizard
• Load data from local database
• Get data from GRIN-Global Server
• Save data to GRIN-Global Server
• Steps to test Welcome Wizard
• Running Curator Tool in VS2015 (30 mins)
• Demo of CIP Wizards (30 mins)
Pre-requisites in your Laptop to code Wizards or
run Curator Tool source code
• GG Server components installed
• GG Client components installed
• Create an account in GitLab: https://gitlab.com
• Your laptop connected to WiFi: cip-wifi-net
• Installed Visual Studio 2015 Community with Git Support
• Steps how to download source code from GitLab using VS2015 in
the slides 3 to 8:
https://www.slideshare.net/edwinrojas507/workshop-2016-
genebank-it-xamarin-and-crossplatform
Requirements to create GRIN-Global Wizards
To Develop
• Visual Studio Community 2015
• .NET Framework 3.5
• GRIN-Global class library (GRINGlobal.Client.Common.dll)
• Download examples from GitLab Repository
To Test
• Curator Tool installed in your PC
• GRIN-Global Server installed in your PC
HelloWorld Wizard
The purpose of this project is to be a template for GRIN-Global Wizards
The wizard just displays a hello message
How to Create a HelloWorld Wizard
1. Open Visual Studio Community
2. Clone solution from
https://gitlab.com/CIP-Development-
Pub/GRINGlobal-WizardTemplate.git
3. Open the solution Wizards.sln
(figure 3)
Figure 3
Steps to develop HelloWorld Wizard
• The solution has a Class Library Project
• The project has Windows Form item
• The project has a reference to GRINGlobal.Client.Common.dll
• Inside Windows Form class implement the Interface
IGRINGlobalDataWizard
• Add the Constructor (string pKeys, SharedUtils sharedUtils) to Windows
Form
• Inside Windows Form add a label control with text “Hello World”
• Build the project to generate DLL file “TemplateWizard.dll”
• Copy the DLL file to the folder Wizards in your Curator Tool installation
• Run Curator Tool and a new Icon will appear in the list of Wizards button
Understanding the parameter pKeys
List of ids of selected rows separated by comma
:accessionid=;
:inventoryid=;
:orderrequestid=;
:cooperatorid=;
:geographyid=;
:taxonomygenusid=;
:cropid=;
Understanding the parameter SharedUtils
Stores logged user data
• Username
• User Cooperator ID
• Password
• User Language Code
• UserSite
Exposes the following methods
• GetLocalData
• GetWebServiceData
• SaveWebServiceData
• BindComboboxToCodeValue
Steps to test HelloWorld Wizard
1. Copy the DLL file to Wizard Folder inside Curator Tool Installation folder
2. Run Curator Tool
3. HelloWorld Wizard Icon and Name will appear in Wizards Toolbar
4. Click on “Hello World Wizard” button
Questions to Participants
1. About the GG platform?
a. The frontend tier: Curator Tool + Search Tool + Web Search Tool
b. The Middle tier: GG Core + GG Business
c. The Data tier: Database repository
d. Have a framework for developers
e. Is a suite of tools for Genebanks users
f. The middle tier is in a Webserver
g. The Webserver is an IIS
2. About the local database:
a. Is created in your PC/Laptop
b. Always use the MSSQL instance: sqlexpress
c. Can we change the instance to sqlexpress2017
d. Can we change the name of the local database
e. The local database name is created by Curator Tool
3. About Wizards:
a. To create a Wizard is needed the Curator Tool source code
b. To create a Wizard must be with .NET 3.5
c. The Wizard can connect to the server and local database
d. The CIP template to create Wizards is in GitHub
e. The CIP template to create Wizards is in GitLab
f. You can create workflows
4. About the central database in the server:
a. Is created in your PC/Laptop
b. Always use the MSSQL instance: sqlexpress
c. Can we change the instance to sqlexpress2017
d. Can we change the name of the central database
e. The central database name is created by Curator Tool
1. a,b,c,d,e,f,g
2. a,b,e
3. b,c,e,f
4. c,d
Welcome Wizard
The wizard allows to query and update the status code of accession
We will …
• Show logged user information like username and user id
• Query the local database
• Get data of accessions from the GRIN-Global server
• Send changes of accessions to the GRIN-Global server
• Understand the response of saving data webservice
How to Create a Welcome Wizard
1. Open Visual Studio Community
2. Clone solution from https://gitlab.com/CIP-Development-Pub/GRINGlobal-
WelcomeWizard.git
3. Open the solution Wizards.sln
Steps to develop Welcome Wizard
Sequence Diagram
Steps to develop Welcome Wizard
Load data from local database
DataTable GetLocalData(string SQLSelect, string SQLparms)
Get data from GRIN-Global Server
DataSet GetWebServiceData(string dataviewName, string
delimitedParameterList, int offset, int limit)
Save data to GRIN-Global Server
DataSet SaveWebServiceData(DataSet modifiedDataSet)
Steps to test Welcome Wizard
1. Copy the DLL file to Wizard Folder inside Curator Tool Installation folder
2. Run Curator Tool
3. Welcome Wizard Icon and Name will appear in Wizards Toolbar
4. Click on “Welcome Wizard” button
Running Curator Tool in VS2015
Requirements
To Run Curator Tool Source Code
• Installed Visual Studio Community 2015
• Installed .NET Framework 4.5.2
• Download the source code from GitLab Repository
• Installed GRIN-Global Server in your PC
Running Curator Tool in VS2015
(Curator Tool version 1.9.6.43)
1. Open Visual Studio Community 2015
2. Clone the solution from
https://GGCommunity@gitlab.com/GGCommunity/GRIN-Global-Curator-
tool.git
3. If you don’t have access then request to Juan Carlos Alarcón
4. Open the solution: GRINGlobal.Client.sln
5. If a window with title “Review Project and Solution Changes” appears,
just click the “OK” button (figure 1)
6. Set GRINGlobal.Client.CuratorTool as Startup project (figure 2)
Right-click and select “Set as StartUp Project”
7. Click the “Start” button
Figure 1
Figure 2
Running Curator Tool in VS2015
Demo of CIP Wizards
The International Potato Center (known by its Spanish acronym CIP) is
a research-for-development organization with a focus on potato, sweetpotato,
and Andean roots and tubers. CIP is dedicated to delivering sustainable
science-based solutions to the pressing world issues of hunger, poverty,
gender equity, climate change and the preservation of our Earth’s fragile
biodiversity and natural resources.
www.cipotato.org
CIP is a member of CGIAR
CGIAR is a global agriculture research partnership for a food secure future. Its
science is carried out by the 15 research centers who are members of the
CGIAR Consortium in collaboration with hundreds of partner organizations.
www.cgiar.org

More Related Content

What's hot

stackconf 2021 | GitOps: yea or nay?
stackconf 2021 | GitOps: yea or nay?stackconf 2021 | GitOps: yea or nay?
stackconf 2021 | GitOps: yea or nay?NETWAYS
 
What’s new in grails framework 5?
What’s new in grails framework 5?What’s new in grails framework 5?
What’s new in grails framework 5?Puneet Behl
 
Speeding up your team with GitOps
Speeding up your team with GitOpsSpeeding up your team with GitOps
Speeding up your team with GitOpsBrice Fernandes
 
Continuous Security for GitOps
Continuous Security for GitOpsContinuous Security for GitOps
Continuous Security for GitOpsWeaveworks
 
The printing press of 2021 - using GitLab to publish the VSHN Handbook
The printing press of 2021 - using GitLab to publish the VSHN HandbookThe printing press of 2021 - using GitLab to publish the VSHN Handbook
The printing press of 2021 - using GitLab to publish the VSHN HandbookAarno Aukia
 
Gitops: the kubernetes way
Gitops: the kubernetes wayGitops: the kubernetes way
Gitops: the kubernetes waysparkfabrik
 
Cicd pixelfederation
Cicd pixelfederationCicd pixelfederation
Cicd pixelfederationJuraj Hantak
 
GitLab for CI/CD process
GitLab for CI/CD processGitLab for CI/CD process
GitLab for CI/CD processHYS Enterprise
 
Git Everyday
Git EverydayGit Everyday
Git EverydayPerforce
 
GitOps: Git come unica fonte di verità per applicazioni e infrastruttura
GitOps: Git come unica fonte di verità per applicazioni e infrastrutturaGitOps: Git come unica fonte di verità per applicazioni e infrastruttura
GitOps: Git come unica fonte di verità per applicazioni e infrastrutturasparkfabrik
 
Community - Carol Chen, Sergio Ocon - ManageIQ Design Summit 2016
Community - Carol Chen, Sergio Ocon - ManageIQ Design Summit 2016Community - Carol Chen, Sergio Ocon - ManageIQ Design Summit 2016
Community - Carol Chen, Sergio Ocon - ManageIQ Design Summit 2016ManageIQ
 
A GitOps Kubernetes Native CICD Solution with Argo Events, Workflows, and CD
A GitOps Kubernetes Native CICD Solution with Argo Events, Workflows, and CDA GitOps Kubernetes Native CICD Solution with Argo Events, Workflows, and CD
A GitOps Kubernetes Native CICD Solution with Argo Events, Workflows, and CDJulian Mazzitelli
 
WKP Team Workspaces Webinar
WKP Team Workspaces WebinarWKP Team Workspaces Webinar
WKP Team Workspaces WebinarWeaveworks
 
GitOps with ArgoCD
GitOps with ArgoCDGitOps with ArgoCD
GitOps with ArgoCDCloudOps2005
 
Prepare to defend thyself with Blue/Green
Prepare to defend thyself with Blue/GreenPrepare to defend thyself with Blue/Green
Prepare to defend thyself with Blue/GreenSonatype
 
Git Tutorial | Git Basics - Branching, Merging, Rebasing | Learn Git | DevOps...
Git Tutorial | Git Basics - Branching, Merging, Rebasing | Learn Git | DevOps...Git Tutorial | Git Basics - Branching, Merging, Rebasing | Learn Git | DevOps...
Git Tutorial | Git Basics - Branching, Merging, Rebasing | Learn Git | DevOps...Edureka!
 
Introducing GitLab (September 2018)
Introducing GitLab (September 2018)Introducing GitLab (September 2018)
Introducing GitLab (September 2018)Noa Harel
 
Gitops: a new paradigm for software defined operations
Gitops: a new paradigm for software defined operationsGitops: a new paradigm for software defined operations
Gitops: a new paradigm for software defined operationsMariano Cunietti
 

What's hot (20)

stackconf 2021 | GitOps: yea or nay?
stackconf 2021 | GitOps: yea or nay?stackconf 2021 | GitOps: yea or nay?
stackconf 2021 | GitOps: yea or nay?
 
What’s new in grails framework 5?
What’s new in grails framework 5?What’s new in grails framework 5?
What’s new in grails framework 5?
 
Speeding up your team with GitOps
Speeding up your team with GitOpsSpeeding up your team with GitOps
Speeding up your team with GitOps
 
Continuous Security for GitOps
Continuous Security for GitOpsContinuous Security for GitOps
Continuous Security for GitOps
 
The printing press of 2021 - using GitLab to publish the VSHN Handbook
The printing press of 2021 - using GitLab to publish the VSHN HandbookThe printing press of 2021 - using GitLab to publish the VSHN Handbook
The printing press of 2021 - using GitLab to publish the VSHN Handbook
 
Gitops: the kubernetes way
Gitops: the kubernetes wayGitops: the kubernetes way
Gitops: the kubernetes way
 
Cicd pixelfederation
Cicd pixelfederationCicd pixelfederation
Cicd pixelfederation
 
GitLab for CI/CD process
GitLab for CI/CD processGitLab for CI/CD process
GitLab for CI/CD process
 
Introducing GitLab
Introducing GitLabIntroducing GitLab
Introducing GitLab
 
Git Everyday
Git EverydayGit Everyday
Git Everyday
 
Gitops Hands On
Gitops Hands OnGitops Hands On
Gitops Hands On
 
GitOps: Git come unica fonte di verità per applicazioni e infrastruttura
GitOps: Git come unica fonte di verità per applicazioni e infrastrutturaGitOps: Git come unica fonte di verità per applicazioni e infrastruttura
GitOps: Git come unica fonte di verità per applicazioni e infrastruttura
 
Community - Carol Chen, Sergio Ocon - ManageIQ Design Summit 2016
Community - Carol Chen, Sergio Ocon - ManageIQ Design Summit 2016Community - Carol Chen, Sergio Ocon - ManageIQ Design Summit 2016
Community - Carol Chen, Sergio Ocon - ManageIQ Design Summit 2016
 
A GitOps Kubernetes Native CICD Solution with Argo Events, Workflows, and CD
A GitOps Kubernetes Native CICD Solution with Argo Events, Workflows, and CDA GitOps Kubernetes Native CICD Solution with Argo Events, Workflows, and CD
A GitOps Kubernetes Native CICD Solution with Argo Events, Workflows, and CD
 
WKP Team Workspaces Webinar
WKP Team Workspaces WebinarWKP Team Workspaces Webinar
WKP Team Workspaces Webinar
 
GitOps with ArgoCD
GitOps with ArgoCDGitOps with ArgoCD
GitOps with ArgoCD
 
Prepare to defend thyself with Blue/Green
Prepare to defend thyself with Blue/GreenPrepare to defend thyself with Blue/Green
Prepare to defend thyself with Blue/Green
 
Git Tutorial | Git Basics - Branching, Merging, Rebasing | Learn Git | DevOps...
Git Tutorial | Git Basics - Branching, Merging, Rebasing | Learn Git | DevOps...Git Tutorial | Git Basics - Branching, Merging, Rebasing | Learn Git | DevOps...
Git Tutorial | Git Basics - Branching, Merging, Rebasing | Learn Git | DevOps...
 
Introducing GitLab (September 2018)
Introducing GitLab (September 2018)Introducing GitLab (September 2018)
Introducing GitLab (September 2018)
 
Gitops: a new paradigm for software defined operations
Gitops: a new paradigm for software defined operationsGitops: a new paradigm for software defined operations
Gitops: a new paradigm for software defined operations
 

Similar to Coding GRIN GLOBAL Wizards

CIP Developing Curator Tool Wizards
CIP Developing Curator Tool WizardsCIP Developing Curator Tool Wizards
CIP Developing Curator Tool WizardsEdwin Rojas
 
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024Cloud Native NoVA
 
22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...
22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...
22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...Athens Big Data
 
IIT-RTC 2017 Qt WebRTC Tutorial (Qt Janus Client)
IIT-RTC 2017 Qt WebRTC Tutorial (Qt Janus Client)IIT-RTC 2017 Qt WebRTC Tutorial (Qt Janus Client)
IIT-RTC 2017 Qt WebRTC Tutorial (Qt Janus Client)Alexandre Gouaillard
 
Introduction to git and Github
Introduction to git and GithubIntroduction to git and Github
Introduction to git and GithubWycliff1
 
Microservices DevOps on Google Cloud Platform
Microservices DevOps on Google Cloud PlatformMicroservices DevOps on Google Cloud Platform
Microservices DevOps on Google Cloud PlatformSunnyvale
 
Dev, Staging & Production Workflow with Gitify (at MODXpo 2015 in Munich)
Dev, Staging & Production Workflow with Gitify (at MODXpo 2015 in Munich)Dev, Staging & Production Workflow with Gitify (at MODXpo 2015 in Munich)
Dev, Staging & Production Workflow with Gitify (at MODXpo 2015 in Munich)Mark Hamstra
 
[English][Test Girls] Zero to Hero: Start Test automation with Cypress
[English][Test Girls] Zero to Hero: Start Test automation with Cypress[English][Test Girls] Zero to Hero: Start Test automation with Cypress
[English][Test Girls] Zero to Hero: Start Test automation with CypressTest Girls
 
Automating Aegir Platform builds with Git; Fabric; and Drush
Automating Aegir Platform builds with Git; Fabric; and DrushAutomating Aegir Platform builds with Git; Fabric; and Drush
Automating Aegir Platform builds with Git; Fabric; and DrushIain Houston
 
GR8CONF Contributing Back To Grails
GR8CONF Contributing Back To GrailsGR8CONF Contributing Back To Grails
GR8CONF Contributing Back To Grailsbobbywarner
 
Life of a Chromium Developer
Life of a Chromium DeveloperLife of a Chromium Developer
Life of a Chromium Developermpaproductions
 
The Ring programming language version 1.10 book - Part 83 of 212
The Ring programming language version 1.10 book - Part 83 of 212The Ring programming language version 1.10 book - Part 83 of 212
The Ring programming language version 1.10 book - Part 83 of 212Mahmoud Samir Fayed
 
Headless browser: puppeteer and git client : GitKraken
Headless browser: puppeteer and git client : GitKrakenHeadless browser: puppeteer and git client : GitKraken
Headless browser: puppeteer and git client : GitKrakenSheikhMoonwaraAnjumM
 
Making the Most of Your Gradle Builds
Making the Most of Your Gradle BuildsMaking the Most of Your Gradle Builds
Making the Most of Your Gradle BuildsEgor Andreevich
 
Griffon for the Enterprise
Griffon for the EnterpriseGriffon for the Enterprise
Griffon for the EnterpriseJames Williams
 
Gitlab ci e kubernetes, build test and deploy your projects like a pro
Gitlab ci e kubernetes, build test and deploy your projects like a proGitlab ci e kubernetes, build test and deploy your projects like a pro
Gitlab ci e kubernetes, build test and deploy your projects like a prosparkfabrik
 
GeoServer Developers Workshop
GeoServer Developers WorkshopGeoServer Developers Workshop
GeoServer Developers WorkshopJody Garnett
 
Webinar on How to use MyAppConverter
Webinar on How to use  MyAppConverterWebinar on How to use  MyAppConverter
Webinar on How to use MyAppConverterJaoued Ahmed
 
C++ Windows Forms L01 - Intro
C++ Windows Forms L01 - IntroC++ Windows Forms L01 - Intro
C++ Windows Forms L01 - IntroMohammad Shaker
 

Similar to Coding GRIN GLOBAL Wizards (20)

CIP Developing Curator Tool Wizards
CIP Developing Curator Tool WizardsCIP Developing Curator Tool Wizards
CIP Developing Curator Tool Wizards
 
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
 
22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...
22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...
22nd Athens Big Data Meetup - 1st Talk - MLOps Workshop: The Full ML Lifecycl...
 
IIT-RTC 2017 Qt WebRTC Tutorial (Qt Janus Client)
IIT-RTC 2017 Qt WebRTC Tutorial (Qt Janus Client)IIT-RTC 2017 Qt WebRTC Tutorial (Qt Janus Client)
IIT-RTC 2017 Qt WebRTC Tutorial (Qt Janus Client)
 
Introduction to git and Github
Introduction to git and GithubIntroduction to git and Github
Introduction to git and Github
 
Microservices DevOps on Google Cloud Platform
Microservices DevOps on Google Cloud PlatformMicroservices DevOps on Google Cloud Platform
Microservices DevOps on Google Cloud Platform
 
Dev, Staging & Production Workflow with Gitify (at MODXpo 2015 in Munich)
Dev, Staging & Production Workflow with Gitify (at MODXpo 2015 in Munich)Dev, Staging & Production Workflow with Gitify (at MODXpo 2015 in Munich)
Dev, Staging & Production Workflow with Gitify (at MODXpo 2015 in Munich)
 
Git and git hub basics
Git and git hub basicsGit and git hub basics
Git and git hub basics
 
[English][Test Girls] Zero to Hero: Start Test automation with Cypress
[English][Test Girls] Zero to Hero: Start Test automation with Cypress[English][Test Girls] Zero to Hero: Start Test automation with Cypress
[English][Test Girls] Zero to Hero: Start Test automation with Cypress
 
Automating Aegir Platform builds with Git; Fabric; and Drush
Automating Aegir Platform builds with Git; Fabric; and DrushAutomating Aegir Platform builds with Git; Fabric; and Drush
Automating Aegir Platform builds with Git; Fabric; and Drush
 
GR8CONF Contributing Back To Grails
GR8CONF Contributing Back To GrailsGR8CONF Contributing Back To Grails
GR8CONF Contributing Back To Grails
 
Life of a Chromium Developer
Life of a Chromium DeveloperLife of a Chromium Developer
Life of a Chromium Developer
 
The Ring programming language version 1.10 book - Part 83 of 212
The Ring programming language version 1.10 book - Part 83 of 212The Ring programming language version 1.10 book - Part 83 of 212
The Ring programming language version 1.10 book - Part 83 of 212
 
Headless browser: puppeteer and git client : GitKraken
Headless browser: puppeteer and git client : GitKrakenHeadless browser: puppeteer and git client : GitKraken
Headless browser: puppeteer and git client : GitKraken
 
Making the Most of Your Gradle Builds
Making the Most of Your Gradle BuildsMaking the Most of Your Gradle Builds
Making the Most of Your Gradle Builds
 
Griffon for the Enterprise
Griffon for the EnterpriseGriffon for the Enterprise
Griffon for the Enterprise
 
Gitlab ci e kubernetes, build test and deploy your projects like a pro
Gitlab ci e kubernetes, build test and deploy your projects like a proGitlab ci e kubernetes, build test and deploy your projects like a pro
Gitlab ci e kubernetes, build test and deploy your projects like a pro
 
GeoServer Developers Workshop
GeoServer Developers WorkshopGeoServer Developers Workshop
GeoServer Developers Workshop
 
Webinar on How to use MyAppConverter
Webinar on How to use  MyAppConverterWebinar on How to use  MyAppConverter
Webinar on How to use MyAppConverter
 
C++ Windows Forms L01 - Intro
C++ Windows Forms L01 - IntroC++ Windows Forms L01 - Intro
C++ Windows Forms L01 - Intro
 

More from Edwin Rojas

Tecnologias Inteligentes de libre uso al 2024
Tecnologias Inteligentes de libre uso al 2024Tecnologias Inteligentes de libre uso al 2024
Tecnologias Inteligentes de libre uso al 2024Edwin Rojas
 
Genebank Inventory vs GG Inventory
Genebank Inventory vs GG InventoryGenebank Inventory vs GG Inventory
Genebank Inventory vs GG InventoryEdwin Rojas
 
CIP Poster Genebank Data Management
CIP Poster Genebank Data ManagementCIP Poster Genebank Data Management
CIP Poster Genebank Data ManagementEdwin Rojas
 
CIP Genebank Images Management 2022
CIP Genebank Images Management 2022CIP Genebank Images Management 2022
CIP Genebank Images Management 2022Edwin Rojas
 
Linking in Vitro inventories with bulk media culture.pptx
Linking in Vitro inventories with bulk media culture.pptxLinking in Vitro inventories with bulk media culture.pptx
Linking in Vitro inventories with bulk media culture.pptxEdwin Rojas
 
Genebank Barcode Technology Overview 2022
Genebank Barcode Technology Overview 2022Genebank Barcode Technology Overview 2022
Genebank Barcode Technology Overview 2022Edwin Rojas
 
GRIN-Global Print Wizard 2022
GRIN-Global Print Wizard 2022GRIN-Global Print Wizard 2022
GRIN-Global Print Wizard 2022Edwin Rojas
 
GG Searching Linked
GG Searching LinkedGG Searching Linked
GG Searching LinkedEdwin Rojas
 
Barcoding at CIP Genebank 2020
Barcoding at CIP Genebank 2020 Barcoding at CIP Genebank 2020
Barcoding at CIP Genebank 2020 Edwin Rojas
 
Four GRIN-Global Installation Scenarios
Four GRIN-Global Installation Scenarios Four GRIN-Global Installation Scenarios
Four GRIN-Global Installation Scenarios Edwin Rojas
 
Barcoding at CIP Genebank - 2020
Barcoding at CIP Genebank - 2020Barcoding at CIP Genebank - 2020
Barcoding at CIP Genebank - 2020Edwin Rojas
 
New GRIN-Global tools developed by CIP in 2020
New GRIN-Global tools developed by CIP in 2020New GRIN-Global tools developed by CIP in 2020
New GRIN-Global tools developed by CIP in 2020Edwin Rojas
 
Manejo de Información en Banco del CIP
Manejo de Información en Banco del CIPManejo de Información en Banco del CIP
Manejo de Información en Banco del CIPEdwin Rojas
 
GRIN-Global Mobile App Architecture
GRIN-Global Mobile App ArchitectureGRIN-Global Mobile App Architecture
GRIN-Global Mobile App ArchitectureEdwin Rojas
 
CIP Genebank and GLIS DOI's - July 2020
CIP Genebank and GLIS DOI's - July 2020CIP Genebank and GLIS DOI's - July 2020
CIP Genebank and GLIS DOI's - July 2020Edwin Rojas
 
Quick guide to setup field barcode labels
Quick guide to setup field barcode labelsQuick guide to setup field barcode labels
Quick guide to setup field barcode labelsEdwin Rojas
 
FAO DOI presentation by Marco Marsella
FAO DOI presentation by Marco MarsellaFAO DOI presentation by Marco Marsella
FAO DOI presentation by Marco MarsellaEdwin Rojas
 
CIP DOI Presentation by Dave Ellis
CIP DOI Presentation by Dave EllisCIP DOI Presentation by Dave Ellis
CIP DOI Presentation by Dave EllisEdwin Rojas
 
GRIN-Global Print Wizard
GRIN-Global Print WizardGRIN-Global Print Wizard
GRIN-Global Print WizardEdwin Rojas
 
.NET Core or Java in the Middle Tier of GRIN-Global
.NET Core or Java in the Middle Tier of GRIN-Global.NET Core or Java in the Middle Tier of GRIN-Global
.NET Core or Java in the Middle Tier of GRIN-GlobalEdwin Rojas
 

More from Edwin Rojas (20)

Tecnologias Inteligentes de libre uso al 2024
Tecnologias Inteligentes de libre uso al 2024Tecnologias Inteligentes de libre uso al 2024
Tecnologias Inteligentes de libre uso al 2024
 
Genebank Inventory vs GG Inventory
Genebank Inventory vs GG InventoryGenebank Inventory vs GG Inventory
Genebank Inventory vs GG Inventory
 
CIP Poster Genebank Data Management
CIP Poster Genebank Data ManagementCIP Poster Genebank Data Management
CIP Poster Genebank Data Management
 
CIP Genebank Images Management 2022
CIP Genebank Images Management 2022CIP Genebank Images Management 2022
CIP Genebank Images Management 2022
 
Linking in Vitro inventories with bulk media culture.pptx
Linking in Vitro inventories with bulk media culture.pptxLinking in Vitro inventories with bulk media culture.pptx
Linking in Vitro inventories with bulk media culture.pptx
 
Genebank Barcode Technology Overview 2022
Genebank Barcode Technology Overview 2022Genebank Barcode Technology Overview 2022
Genebank Barcode Technology Overview 2022
 
GRIN-Global Print Wizard 2022
GRIN-Global Print Wizard 2022GRIN-Global Print Wizard 2022
GRIN-Global Print Wizard 2022
 
GG Searching Linked
GG Searching LinkedGG Searching Linked
GG Searching Linked
 
Barcoding at CIP Genebank 2020
Barcoding at CIP Genebank 2020 Barcoding at CIP Genebank 2020
Barcoding at CIP Genebank 2020
 
Four GRIN-Global Installation Scenarios
Four GRIN-Global Installation Scenarios Four GRIN-Global Installation Scenarios
Four GRIN-Global Installation Scenarios
 
Barcoding at CIP Genebank - 2020
Barcoding at CIP Genebank - 2020Barcoding at CIP Genebank - 2020
Barcoding at CIP Genebank - 2020
 
New GRIN-Global tools developed by CIP in 2020
New GRIN-Global tools developed by CIP in 2020New GRIN-Global tools developed by CIP in 2020
New GRIN-Global tools developed by CIP in 2020
 
Manejo de Información en Banco del CIP
Manejo de Información en Banco del CIPManejo de Información en Banco del CIP
Manejo de Información en Banco del CIP
 
GRIN-Global Mobile App Architecture
GRIN-Global Mobile App ArchitectureGRIN-Global Mobile App Architecture
GRIN-Global Mobile App Architecture
 
CIP Genebank and GLIS DOI's - July 2020
CIP Genebank and GLIS DOI's - July 2020CIP Genebank and GLIS DOI's - July 2020
CIP Genebank and GLIS DOI's - July 2020
 
Quick guide to setup field barcode labels
Quick guide to setup field barcode labelsQuick guide to setup field barcode labels
Quick guide to setup field barcode labels
 
FAO DOI presentation by Marco Marsella
FAO DOI presentation by Marco MarsellaFAO DOI presentation by Marco Marsella
FAO DOI presentation by Marco Marsella
 
CIP DOI Presentation by Dave Ellis
CIP DOI Presentation by Dave EllisCIP DOI Presentation by Dave Ellis
CIP DOI Presentation by Dave Ellis
 
GRIN-Global Print Wizard
GRIN-Global Print WizardGRIN-Global Print Wizard
GRIN-Global Print Wizard
 
.NET Core or Java in the Middle Tier of GRIN-Global
.NET Core or Java in the Middle Tier of GRIN-Global.NET Core or Java in the Middle Tier of GRIN-Global
.NET Core or Java in the Middle Tier of GRIN-Global
 

Recently uploaded

Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 

Recently uploaded (20)

Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 

Coding GRIN GLOBAL Wizards

  • 1. How to code GRIN-Global Wizards October 10, 2017 – GRIN-Global & Genesys Workshop C I M M Y T - S T A T E O F M E X I C O , T E X C O C O M E X I C O Carlos Velasquez (CIP) & Edwin Rojas (CIP) GG Developers
  • 2. Agenda • CIP Wizards: Screenshots and Diagram of sequences (15 mins) • Pre-requisites in your Laptop to code Wizards or run Curator Tool source code (30 mins) • Requirements to Create GRIN-Global Wizards (5 mins) • How to Create a HelloWorld Wizard (30 mins) • Overview • Steps to develop HelloWorld Wizard • Understanding the parameter SharedUtils • Understanding the parameter pKeys • Steps to test HelloWorld Wizard • Questions to Participants (10 mins) • How to Create a Welcome Wizard (1 hour) • Overview • Steps to develop Welcome Wizard • Load data from local database • Get data from GRIN-Global Server • Save data to GRIN-Global Server • Steps to test Welcome Wizard • Running Curator Tool in VS2015 (30 mins) • Demo of CIP Wizards (30 mins)
  • 3. Pre-requisites in your Laptop to code Wizards or run Curator Tool source code • GG Server components installed • GG Client components installed • Create an account in GitLab: https://gitlab.com • Your laptop connected to WiFi: cip-wifi-net • Installed Visual Studio 2015 Community with Git Support • Steps how to download source code from GitLab using VS2015 in the slides 3 to 8: https://www.slideshare.net/edwinrojas507/workshop-2016- genebank-it-xamarin-and-crossplatform
  • 4. Requirements to create GRIN-Global Wizards To Develop • Visual Studio Community 2015 • .NET Framework 3.5 • GRIN-Global class library (GRINGlobal.Client.Common.dll) • Download examples from GitLab Repository To Test • Curator Tool installed in your PC • GRIN-Global Server installed in your PC
  • 5. HelloWorld Wizard The purpose of this project is to be a template for GRIN-Global Wizards The wizard just displays a hello message
  • 6. How to Create a HelloWorld Wizard 1. Open Visual Studio Community 2. Clone solution from https://gitlab.com/CIP-Development- Pub/GRINGlobal-WizardTemplate.git 3. Open the solution Wizards.sln (figure 3) Figure 3
  • 7. Steps to develop HelloWorld Wizard • The solution has a Class Library Project • The project has Windows Form item • The project has a reference to GRINGlobal.Client.Common.dll • Inside Windows Form class implement the Interface IGRINGlobalDataWizard • Add the Constructor (string pKeys, SharedUtils sharedUtils) to Windows Form • Inside Windows Form add a label control with text “Hello World” • Build the project to generate DLL file “TemplateWizard.dll” • Copy the DLL file to the folder Wizards in your Curator Tool installation • Run Curator Tool and a new Icon will appear in the list of Wizards button
  • 8. Understanding the parameter pKeys List of ids of selected rows separated by comma :accessionid=; :inventoryid=; :orderrequestid=; :cooperatorid=; :geographyid=; :taxonomygenusid=; :cropid=;
  • 9. Understanding the parameter SharedUtils Stores logged user data • Username • User Cooperator ID • Password • User Language Code • UserSite Exposes the following methods • GetLocalData • GetWebServiceData • SaveWebServiceData • BindComboboxToCodeValue
  • 10. Steps to test HelloWorld Wizard 1. Copy the DLL file to Wizard Folder inside Curator Tool Installation folder 2. Run Curator Tool 3. HelloWorld Wizard Icon and Name will appear in Wizards Toolbar 4. Click on “Hello World Wizard” button
  • 11. Questions to Participants 1. About the GG platform? a. The frontend tier: Curator Tool + Search Tool + Web Search Tool b. The Middle tier: GG Core + GG Business c. The Data tier: Database repository d. Have a framework for developers e. Is a suite of tools for Genebanks users f. The middle tier is in a Webserver g. The Webserver is an IIS 2. About the local database: a. Is created in your PC/Laptop b. Always use the MSSQL instance: sqlexpress c. Can we change the instance to sqlexpress2017 d. Can we change the name of the local database e. The local database name is created by Curator Tool 3. About Wizards: a. To create a Wizard is needed the Curator Tool source code b. To create a Wizard must be with .NET 3.5 c. The Wizard can connect to the server and local database d. The CIP template to create Wizards is in GitHub e. The CIP template to create Wizards is in GitLab f. You can create workflows 4. About the central database in the server: a. Is created in your PC/Laptop b. Always use the MSSQL instance: sqlexpress c. Can we change the instance to sqlexpress2017 d. Can we change the name of the central database e. The central database name is created by Curator Tool 1. a,b,c,d,e,f,g 2. a,b,e 3. b,c,e,f 4. c,d
  • 12. Welcome Wizard The wizard allows to query and update the status code of accession We will … • Show logged user information like username and user id • Query the local database • Get data of accessions from the GRIN-Global server • Send changes of accessions to the GRIN-Global server • Understand the response of saving data webservice
  • 13. How to Create a Welcome Wizard 1. Open Visual Studio Community 2. Clone solution from https://gitlab.com/CIP-Development-Pub/GRINGlobal- WelcomeWizard.git 3. Open the solution Wizards.sln
  • 14. Steps to develop Welcome Wizard Sequence Diagram
  • 15. Steps to develop Welcome Wizard Load data from local database DataTable GetLocalData(string SQLSelect, string SQLparms) Get data from GRIN-Global Server DataSet GetWebServiceData(string dataviewName, string delimitedParameterList, int offset, int limit) Save data to GRIN-Global Server DataSet SaveWebServiceData(DataSet modifiedDataSet)
  • 16. Steps to test Welcome Wizard 1. Copy the DLL file to Wizard Folder inside Curator Tool Installation folder 2. Run Curator Tool 3. Welcome Wizard Icon and Name will appear in Wizards Toolbar 4. Click on “Welcome Wizard” button
  • 17. Running Curator Tool in VS2015 Requirements To Run Curator Tool Source Code • Installed Visual Studio Community 2015 • Installed .NET Framework 4.5.2 • Download the source code from GitLab Repository • Installed GRIN-Global Server in your PC
  • 18. Running Curator Tool in VS2015 (Curator Tool version 1.9.6.43) 1. Open Visual Studio Community 2015 2. Clone the solution from https://GGCommunity@gitlab.com/GGCommunity/GRIN-Global-Curator- tool.git 3. If you don’t have access then request to Juan Carlos Alarcón 4. Open the solution: GRINGlobal.Client.sln 5. If a window with title “Review Project and Solution Changes” appears, just click the “OK” button (figure 1) 6. Set GRINGlobal.Client.CuratorTool as Startup project (figure 2) Right-click and select “Set as StartUp Project” 7. Click the “Start” button
  • 19. Figure 1 Figure 2 Running Curator Tool in VS2015
  • 20. Demo of CIP Wizards
  • 21. The International Potato Center (known by its Spanish acronym CIP) is a research-for-development organization with a focus on potato, sweetpotato, and Andean roots and tubers. CIP is dedicated to delivering sustainable science-based solutions to the pressing world issues of hunger, poverty, gender equity, climate change and the preservation of our Earth’s fragile biodiversity and natural resources. www.cipotato.org CIP is a member of CGIAR CGIAR is a global agriculture research partnership for a food secure future. Its science is carried out by the 15 research centers who are members of the CGIAR Consortium in collaboration with hundreds of partner organizations. www.cgiar.org