logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
jonhoaglin  
#1 Posted : Wednesday, January 7, 2015 6:14:33 AM(UTC)
jonhoaglin


Rank: Advanced Member

Medals: Level 2: Lent a Helping Hand! 10 Thanks!

Joined: 12/5/2014(UTC)
Posts: 42
United States

Thanks: 2 times
Was thanked: 12 time(s) in 9 post(s)
Current Version: 1.4.1

UserPostedImage

Installing this extension will add a button to your guest page like this:

UserPostedImage

Guests are able to see this and click on it with no login required, bringing up this prompt:

UserPostedImage

It is also possible to set a password so that guests cannot install the access client without permission. Simply got to your settings here:

UserPostedImage

and edit these lines:

UserPostedImage

and now clicking the button on the guest page will bring up this prompt:

UserPostedImage


Please direct any issues or questions about this extension to this thread, thank you.

Edited by user Wednesday, January 7, 2015 9:07:10 PM(UTC)  | Reason: Not specified

thanks 3 users thanked jonhoaglin for this useful post.
promptcare on 5/17/2015(UTC), NJH.siii on 6/2/2015(UTC), NWCommsTech on 8/14/2015(UTC)
jonhoaglin  
#2 Posted : Wednesday, January 7, 2015 6:30:28 PM(UTC)
jonhoaglin


Rank: Advanced Member

Medals: Level 2: Lent a Helping Hand! 10 Thanks!

Joined: 12/5/2014(UTC)
Posts: 42
United States

Thanks: 2 times
Was thanked: 12 time(s) in 9 post(s)
There is a bug in v1.4 that forces the password to be used regardless of setting, working on getting that resolved.
EDIT: This is now fixed in version 1.4.1, waiting for approval from SC

Also, if anyone has a better name for this extension, I would be more than happy to change it.

Edited by user Wednesday, January 7, 2015 9:03:38 PM(UTC)  | Reason: Not specified

SolF  
#3 Posted : Sunday, January 11, 2015 8:06:20 PM(UTC)
SolF


Rank: Newbie

Joined: 12/31/2014(UTC)
Posts: 9
United States
Location: New York

Great Extension, already using it
NJH.siii  
#4 Posted : Saturday, May 16, 2015 5:00:31 PM(UTC)
NJH.siii


Rank: Advanced Member

Medals: Bug Buster Level One: Spoon!Level 1: Random Act of Kindness! Received One Thanks!

Joined: 3/3/2015(UTC)
Posts: 57
Man
United Kingdom
Location: Bristol

Thanks: 27 times
Was thanked: 4 time(s) in 3 post(s)
Hi Jonathon

Great Extension - I use it to setup all my new clients with unattended sessions. However I'm always concerned when I see the password displayed as I type it - surely this should be redacted?

What are the chances of an update?

More Power to your creative elbow!
Regards

Edited by user Saturday, May 16, 2015 5:02:39 PM(UTC)  | Reason: Not specified

Nigel
FAB-ITRescue
promptcare  
#5 Posted : Sunday, May 17, 2015 11:41:54 PM(UTC)
promptcare


Rank: Advanced Member

Medals: ScreenConnect Advisor: Focus Group MemberLevel 2: Lent a Helping Hand! 10 Thanks!

Joined: 9/14/2011(UTC)
Posts: 353
Location: ON, Canada

Thanks: 30 times
Was thanked: 13 time(s) in 11 post(s)
Nice. Too bad there's not a way to get them to edit the session name so their "Owner-PC" doesn't become another face in the crowd.
NWCommsTech  
#6 Posted : Tuesday, June 2, 2015 4:19:00 AM(UTC)
NWCommsTech


Rank: Newbie

Joined: 5/21/2015(UTC)
Posts: 4
Australia
Location: Perth

Thanks: 3 times
@jonhoaglin - Thanks. Brilliant extension like always. I've only just started to dabble, as I'm trying to modify your extension for person use only, not redistrubution.
I want your build option to appear at the bottom, rather than the top as most clients will be using the Start option, and you know how some people don't read anything and just click the first thing on the screen...
And also, when selecting, I'd like the settings Name and Organisation to be pre-defined so it is a single click to download and install.

Example options in the extension "Edit Settings":
BuildType = Automated or Dialog
AutoName = Machine_Name {Would a pre-defined name even be needed? If so, would have to incorporate some sort of random identifier as well... "Bob-"+rand(1000) - Can't imagine I'd ever use it but if you want to be thorough... }
AutoOrg = "Unassigned"
Position = "TOP" | "BOTTOM"

Any chance you would consider adding in this extra functionality?
If not, may I try and modify your extension for myself?

Edited by user Wednesday, June 3, 2015 8:23:42 AM(UTC)  | Reason: Typo

rgreen83  
#7 Posted : Tuesday, October 6, 2015 4:07:16 PM(UTC)
rgreen83


Rank: Advanced Member

Medals: Level 1: Random Act of Kindness! Received One Thanks!

Joined: 2/16/2015(UTC)
Posts: 68
United States
Location: Missouri

Thanks: 6 times
Was thanked: 3 time(s) in 3 post(s)
Echoing the earlier commenter, please update and hide the password as it is typed
cnetonline  
#8 Posted : Wednesday, October 21, 2015 9:48:54 PM(UTC)
cnetonline


Rank: Newbie

Joined: 3/30/2015(UTC)
Posts: 4
United States
Location: Miami

+1 for Hiding the password when we type it.

+1 for moving the BUILDER option to the bottom of the page.
jonhoaglin  
#9 Posted : Thursday, November 19, 2015 8:01:18 PM(UTC)
jonhoaglin


Rank: Advanced Member

Medals: Level 2: Lent a Helping Hand! 10 Thanks!

Joined: 12/5/2014(UTC)
Posts: 42
United States

Thanks: 2 times
Was thanked: 12 time(s) in 9 post(s)
Done and Done, version 1.5 is submitted and awaiting SC approval

@NWCommsTech
Getting it to be automatic instead of showing the dialog is possible, but would take more doing than I am honesty willing to do. Feel free to give it a go though and publish what you come up with. I suggest looking at the SC.installer.showBuildDialog function found in Program Files\Screen Connect\Scripts\SC.installer.js and seeing how it is setting the installer values and passing them on.

Edited by user Thursday, November 19, 2015 8:10:36 PM(UTC)  | Reason: Not specified

thanks 1 user thanked jonhoaglin for this useful post.
NJH.siii on 12/22/2015(UTC)
rgreen83  
#10 Posted : Thursday, November 19, 2015 9:38:04 PM(UTC)
rgreen83


Rank: Advanced Member

Medals: Level 1: Random Act of Kindness! Received One Thanks!

Joined: 2/16/2015(UTC)
Posts: 68
United States
Location: Missouri

Thanks: 6 times
Was thanked: 3 time(s) in 3 post(s)
Thanks for the update Jon! Can't wait to get this updated and start using it!
NWCommsTech  
#11 Posted : Wednesday, December 2, 2015 8:47:35 AM(UTC)
NWCommsTech


Rank: Newbie

Joined: 5/21/2015(UTC)
Posts: 4
Australia
Location: Perth

Thanks: 3 times
Thanks Jon, looking forward to the update.

I had a look where you said and I've sent you a PM with what I've found, if you get a chance to respond it would be greatly appreciated.
NWCommsTech  
#12 Posted : Thursday, December 17, 2015 1:31:03 AM(UTC)
NWCommsTech


Rank: Newbie

Joined: 5/21/2015(UTC)
Posts: 4
Australia
Location: Perth

Thanks: 3 times
Ok, now I feel really stupid. I've updated but can't get it to change position.
I've set the Bottom Key to Custom and tried "true", "True", "bottom", "Bottom" + blank - but I can't get it to shift.
(they were all without the "")

I've restarted apache with no change, but haven't restarted the Virtual Machine - can't until after hours.

Is a restart required or have I missed something obvious?
rgreen83  
#13 Posted : Thursday, December 17, 2015 2:31:43 PM(UTC)
rgreen83


Rank: Advanced Member

Medals: Level 1: Random Act of Kindness! Received One Thanks!

Joined: 2/16/2015(UTC)
Posts: 68
United States
Location: Missouri

Thanks: 6 times
Was thanked: 3 time(s) in 3 post(s)
Originally Posted by: NWCommsTech Go to Quoted Post
Ok, now I feel really stupid. I've updated but can't get it to change position.
I've set the Bottom Key to Custom and tried "true", "True", "bottom", "Bottom" + blank - but I can't get it to shift.
(they were all without the "")

I've restarted apache with no change, but haven't restarted the Virtual Machine - can't until after hours.

Is a restart required or have I missed something obvious?


My SC runs on windows/IIS but it moved for me just setting it to "true".
ZATZAi  
#14 Posted : Monday, January 25, 2016 9:10:00 AM(UTC)
ZATZAi


Rank: Member

Joined: 8/29/2013(UTC)
Posts: 22
Man
Location: California

Thanks: 1 times
Originally Posted by: NWCommsTech Go to Quoted Post
Ok, now I feel really stupid. I've updated but can't get it to change position.
I've set the Bottom Key to Custom and tried "true", "True", "bottom", "Bottom" + blank - but I can't get it to shift.
(they were all without the "")

I've restarted apache with no change, but haven't restarted the Virtual Machine - can't until after hours.

Is a restart required or have I missed something obvious?


Yah, having the same problem on Ubuntu Server.
-ZATZAi
promptcare  
#15 Posted : Wednesday, July 20, 2016 5:11:40 PM(UTC)
promptcare


Rank: Advanced Member

Medals: ScreenConnect Advisor: Focus Group MemberLevel 2: Lent a Helping Hand! 10 Thanks!

Joined: 9/14/2011(UTC)
Posts: 353
Location: ON, Canada

Thanks: 30 times
Was thanked: 13 time(s) in 11 post(s)
Originally Posted by: promptcare Go to Quoted Post
Nice. Too bad there's not a way to get them to edit the session name so their "Owner-PC" doesn't become another face in the crowd.


Going to repeat my request to have the option to make the default name "Specific Value" and that it must be filled in. My text asks them to do that but we all know how people read instructions.

And...I'm also unable to move the box down to the bottom.
Scott  
#16 Posted : Friday, July 22, 2016 3:43:57 PM(UTC)
Scott


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 3/28/2014(UTC)
Posts: 2,518
United States

Thanks: 3 times
Was thanked: 305 time(s) in 262 post(s)
@promptcare not sure about moving the panel to the bottom, but if you wanted to force the user to enter a name, you could clone the Extension and change Initializer.js to something like:

Code:

SC.event.addGlobalHandler(SC.event.QueryPanels, function (eventArgs) {
	switch(eventArgs.area){
	case 'GuestActionPanel':
		eventArgs.panelDefinitions.unshift({
			initProc: function (container) {
				var buildtitle = [];
				if(extensionContext.settingValues.title.split(" ").length > 1){
					buildtitle = [extensionContext.settingValues.title.substring(0, extensionContext.settingValues.title.indexOf(" ")), extensionContext.settingValues.title.substring(extensionContext.settingValues.title.indexOf(" "))];
				}else{
					buildtitle = [extensionContext.settingValues.title, ""];
				}
				SC.ui.setContents(container, [$h2({ innerHTML: '<em>'+buildtitle[0]+'</em> '+buildtitle[1] }), $table({id: 'installerTable'})]);
				SC.ui.clear($('installerTable'));
				SC.ui.addElement($('installerTable'), 'tr', {id: 'BuildInstallerRow'});
				SC.ui.addElement($('BuildInstallerRow'), 'td', {id: 'BuildInstallerCell0'});
				SC.ui.addElement($('BuildInstallerRow'), 'td', {id: 'BuildInstallerCell1'});
				SC.ui.addElement($('BuildInstallerCell0'), 'span', {innerHTML: extensionContext.settingValues.description});
				SC.ui.addElement($('BuildInstallerCell1'), 'a', {
					id: 'BuildInstallerButton', 
					className: 'GoLink Small', 
					_commandName: 'ShowCustomBuildInstallerDialog',
					innerHTML: ""
				});
				
			},
			isVisibleProc: function (pass, previousPassVisibleCount, sessionInfo) {
				return pass == 10;
			}
		});
		break;
	}
});

SC.event.addGlobalHandler(SC.event.ExecuteCommand, function (eventArgs) {
	switch (eventArgs.commandName) {
		case 'ShowCustomBuildInstallerDialog':
			if(extensionContext.settingValues.UsePassword != "false"){
				var titlePanel = SC.dialog.createTitlePanel("Installer Password");
				var mainContentPanel = SC.dialog.createContentPanel();
				var buttonPanel = SC.dialog.createButtonPanel("Submit");
				
				var contentContainer = SC.ui.addElement(mainContentPanel, 'dl');
				SC.ui.addElement(contentContainer, 'DT', "Please enter the password:");
			
				SC.editfield.addEditField(contentContainer, 'password', null, null, null);
			
				SC.util.includeStyleSheet(extensionContext.baseUrl + 'Style.css');
				SC.dialog.showModalDialogRaw('PasswordDialog', [titlePanel, mainContentPanel, buttonPanel], function (eventArgs){
					password = SC.editfield.getTextValue(contentContainer, 'password');
					if(password == extensionContext.settingValues.Password){			
						showCustomBuildDialog();
					}else{
						alert("Incorrect Password");
					}
				});
			}else{
				showCustomBuildDialog();
			}
			break;
	}
});

showCustomBuildDialog = function() {
	var titlePanel = SC.dialog.createTitlePanel(SC.res['BuildInstallerPanel.Title']);
	var mainContentPanel = SC.dialog.createContentPanel();
	var buttonPanel = SC.dialog.createButtonPanel();

	SC.ui.addElement(mainContentPanel, 'P', SC.res['BuildInstallerPanel.Paragraph1Message']);
	SC.ui.addElement(mainContentPanel, 'P', SC.res['BuildInstallerPanel.Paragraph2Message']);

	var definitionList = SC.ui.addElement(mainContentPanel, 'DL');

	SC.editfield.addEditField(definitionList, 'Name');

	SC.util.forEachVisibleCustomProperty(SC.types.SessionType.Access, function (index, propertyName) {
		SC.editfield.addEditField(definitionList, propertyName);
	});

	SC.ui.addElement(mainContentPanel, 'P', SC.res['BuildInstallerPanel.Paragraph3Message']);

	SC.ui.addElement(buttonPanel, 'INPUT', { type: 'button', _commandName: 'Default', value: SC.res['BuildInstallerPanel.DownloadButtonText'] });

	var installerTypeParagraph = SC.ui.addElement(buttonPanel, 'P');

	SC.ui.addElement(installerTypeParagraph, 'SPAN', SC.res['BuildInstallerPanel.InstallerTypeLabelText']);
	var installerTypeList = SC.ui.addElement(installerTypeParagraph, 'SELECT');

	SC.installer.getSortedInstallerTypeInfos().forEach(function (i) { installerTypeList.add(new Option(i.text, i.type)); });

	SC.dialog.showModalDialogRaw('BuildInstaller', [titlePanel, mainContentPanel, buttonPanel], function (eventArgs) {
		var name = (SC.editfield.getOptionValue(definitionList, 'Name') == 'M' ? '' : SC.editfield.getTextValue(definitionList, 'Name'));
		var customPropertyValues = SC.util.createArray(SC.context.customPropertyCount, function () { return ''; });

		SC.util.forEachVisibleCustomProperty(SC.types.SessionType.Access, function (index, propertyName) {
			customPropertyValues[index] = SC.editfield.getTextValue(definitionList, propertyName);
		});

		var url = SC.util.getInstallerUrl(installerTypeList.options[installerTypeList.selectedIndex].value, name, customPropertyValues);
		if (name === "")
			window.alert("Please Enter a Name");
		else
			SC.util.launchUrl(url);
	});
};


Basically instead of calling SC.installer.showBuildDialog(), you create your own (showCustomBuildDialog) which handles the logic and then passes it along to SC.util.launchUrl();

With that said, I didn't write the extension so it's up to @jonhoaglin how he would handle that, if he chooses to do so.
ScreenConnect Team
thanks 1 user thanked Scott for this useful post.
NJH.siii on 7/22/2016(UTC)
SpencerM  
#17 Posted : Tuesday, August 2, 2016 11:50:42 AM(UTC)
SpencerM


Rank: Newbie

Joined: 3/5/2014(UTC)
Posts: 3
Canada

I think I found a bug.

When the extension is used in ScreenConnect 6.0.11175.6052 (beta), and using a Dark theme, the description text changes to white rendering it invisible.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.