import arcpy
import pythonaddins
import sys
sys.path.append(r"C:\Python27\Lib\site-packages")
from portalpy import *

global portalLogin

class SignOn(object):
    """Implementation for test_addin.signonbutton (Button)"""
    def __init__(self):
        self.enabled = True
        self.checked = False
    def onClick(self):
        global portalLogin
        portalLogin = pythonaddins.GPToolDialog(r"C:\Users\AlexanderN\Documents\GitHub\PortalPy-AddIn\102version\test\Install\Tools\Toolbox.tbx", "SignOn")
        #This is used to select datasets which is a possibility
        #value = pythonaddins.OpenDialog('Credentials', True, r'C:\'', 'Add')
        #I am thinking of just creating tools to do all of this then prompting
        #the button with: pythonaddins.GPToolDialog(toolbox, tool_name)

92991d1742ed4afc8582c2ceb3520c0740c84603
<mask token>


class SignOn(object):
    <mask token>

    def __init__(self):
        self.enabled = True
        self.checked = False

    def onClick(self):
        global portalLogin
        portalLogin = pythonaddins.GPToolDialog(
            'C:\\Users\\AlexanderN\\Documents\\GitHub\\PortalPy-AddIn\\102version\\test\\Install\\Tools\\Toolbox.tbx'
            , 'SignOn')

<mask token>


class SignOn(object):
    """Implementation for test_addin.signonbutton (Button)"""

    def __init__(self):
        self.enabled = True
        self.checked = False

    def onClick(self):
        global portalLogin
        portalLogin = pythonaddins.GPToolDialog(
            'C:\\Users\\AlexanderN\\Documents\\GitHub\\PortalPy-AddIn\\102version\\test\\Install\\Tools\\Toolbox.tbx'
            , 'SignOn')

<mask token>
sys.path.append('C:\\Python27\\Lib\\site-packages')
<mask token>
global portalLogin


class SignOn(object):
    """Implementation for test_addin.signonbutton (Button)"""

    def __init__(self):
        self.enabled = True
        self.checked = False

    def onClick(self):
        global portalLogin
        portalLogin = pythonaddins.GPToolDialog(
            'C:\\Users\\AlexanderN\\Documents\\GitHub\\PortalPy-AddIn\\102version\\test\\Install\\Tools\\Toolbox.tbx'
            , 'SignOn')

import arcpy
import pythonaddins
import sys
sys.path.append('C:\\Python27\\Lib\\site-packages')
from portalpy import *
global portalLogin


class SignOn(object):
    """Implementation for test_addin.signonbutton (Button)"""

    def __init__(self):
        self.enabled = True
        self.checked = False

    def onClick(self):
        global portalLogin
        portalLogin = pythonaddins.GPToolDialog(
            'C:\\Users\\AlexanderN\\Documents\\GitHub\\PortalPy-AddIn\\102version\\test\\Install\\Tools\\Toolbox.tbx'
            , 'SignOn')

import arcpy
import pythonaddins
import sys
sys.path.append(r"C:\Python27\Lib\site-packages")
from portalpy import *

global portalLogin

class SignOn(object):
    """Implementation for test_addin.signonbutton (Button)"""
    def __init__(self):
        self.enabled = True
        self.checked = False
    def onClick(self):
        global portalLogin
        portalLogin = pythonaddins.GPToolDialog(r"C:\Users\AlexanderN\Documents\GitHub\PortalPy-AddIn\102version\test\Install\Tools\Toolbox.tbx", "SignOn")
        #This is used to select datasets which is a possibility
        #value = pythonaddins.OpenDialog('Credentials', True, r'C:\'', 'Add')
        #I am thinking of just creating tools to do all of this then prompting
        #the button with: pythonaddins.GPToolDialog(toolbox, tool_name)
