Advertisements

Registration open for the May 10, 2017 Boston Area SharePoint Users Group Meeting

BASPUG_195square_initialsRegistration is now open for the Boston Area SharePoint User Group (BASPUG) taking place on May 10th, 2017, at the BlueMetal office at 9 Galen St, Suite #300, Watertown, MA​ from 6:30-8:30 PM. Click here to register!

Dimitri Ayrapetov will be presenting “How to Approach SharePoint Governance”

Session Abstract

​The term governance means different things to different people. There are many ways to define what governance means to your organization as you start on the journey of planning, implementing, and monitoring it. This session will provide the key fundamentals for approaching Governance in SharePoint with lessons from the field and practical best practices.​

About the Speaker

​Dimitri Ayrapetov is a Digital Partner with TrnDigital. He comes with over 10 years of consulting experience working with SharePoint, Office 365, and related technologies.

MEETING SPONSOR – BlueMetal

​Modern technology, craftsman quality. We’re an interactive design and technology architecture firm matching the most experienced consultants in the industry to the most challenging business and technical problems facing our clients. We seek to understand your business strategy and technical foundation to craft modern applications that holistically blend strategic vision, creative design, architecture, and innovation, to exactly meet your needs and ensure your success.​​

SUSTENANCE

Food and beverages will be provided at the meeting free of charge from our meeting sponsor. Food arrives at about 6PM. We generally have pizza (with and without meat), as well a salad, water, and sodas.​​

RAFFLE PRIZES

We will be handing out raffle tickets at the BASPUG meetings.

LOCATION

The meeting will be held at the BlueMetal Boston Office at 9 Galen St, Suite 300, Watertown, MA.​ Parking is FREE, and available in the main lot, and behind the building along the river.
Walk in the main building entrace (not the side of the bus stop), go to the back, take the elevator up to the 3rd floor, and the BlueMetal office is right in front of the elevator.

LINKED IN

Join our group on LinkedIn today to connect with the rest of the BASPUG members, and spread the word!
FACEBOOK 
We are also on facebook! http://www.facebook.com/#!/pages/Boston-Area-SharePoint-User-Group/113652405354617
TWITTER
Follow news about the Boston Area SharePoint Users Group on twitter by following us @BASPUG, and by using the hashtag #BASPUG
WEB
Visit the Boston Area SharePoint Users Group website at http://www.bostonsharepointug.org
ORGANIZERS
Event meetings are organized by Geoff Varosky and Bob German of BlueMetal, James Restivo of Crow Canyon Systems.

Please visit The Boston SharePoint Area Users Group page for more event details!

Advertisements

Replacing a Drop-Down List in Nintex Forms 2010 with an Autocompleting Textbox – Fix for Version 1.11.4.0 Update

SharePoint Sig wrote a great post about creating an autocompleting textbox in Nintex Forms 2010 using a Drop-Down list as the source. This was awesome code that did not require much hassle to implement. Until version 1.11.4.0 was released in January of this year.

That is right, this threat that is on every Nintex release finally came to pass:

image

The changes did indeed require adjustments to custom JavaScript.

We had a client that this functionality broke on, so the SWAT team was called in to figure out a solution. After a few frustrating hours, I was able to figure it out. When configuring your variables that are linked to your textbox and drop-down list, let’s call them simply mylist and mytext for the drop-down list and textbox respectively… the ID for the drop-down list element had changed and added _hid on the end of it. So as an example, the ugly ID for the element:

ctl00_m_g_53210a58_ac0b_4f63_be11_47018c3b62f1_ctl00_ListForm2_formFiller_FormView_ctl26_ca219dc8_8328_4480_b26c_fabd21a218d9

Now becomes:

ctl00_m_g_53210a58_ac0b_4f63_be11_47018c3b62f1_ctl00_ListForm2_formFiller_FormView_ctl26_ca219dc8_8328_4480_b26c_fabd21a218d9_hid

So I needed to add in a replace on the string to fix it:

mylist = mylist.replace("_hid","");

That’s the first issue. The second issue is iterating through the options in the dropdown did no longer work. The original code used the following to iterate through:

        $(dropDown1).children().each(function() {

This was no longer working in our implementation, so we did this:

Now, I tried several (well, a lot more than several) options to get ahold of the element, this seemed to be the only one that worked. I built up the element selector in a variable, and then passed it in:

var dropDownOptions = "#" + mylist + " > option";

NWF$(dropDownOptions).each(function() {

The final code ended up being close to this… this was the working prototype, so it can probably be cleaned up a bit more, but, the most important thing is that it worked (changed bits highlighted):

NWF$(document).ready(function(){

    var textbox = NWF$("#" + mytext);

    mylist = mylist.replace("_hid","");

    var dropDown1 = NWF$("#" + mylist);

       
    textbox.autocomplete({

        source: function(request, response) {

            var autocompleteVals = [];

            console.log("autocomplete1");

           
            var dropDownOptions = "#" + mylist + " > option";

            NWF$(dropDownOptions).each(function() {

                if (NWF$(this).text() != "(None)" && NWF$(this).text().toLowerCase().indexOf(request.term.toLowerCase()) >= 0) {

                    autocompleteVals.push(NWF$(this).text());

                }

            });

           
            response(autocompleteVals);

        },

        minLength: 1,

        select: function(event, ui) {

            console.log("autocomplete3");

            var fieldOption = NWF$("#" + dropDown1Id + " option").filter(function() {

                return NWF$(this).html() == ui.item.value;

            });

           
            NWF$(fieldOption).attr("selected", true);

            NWF$(dropDown1).change();

        }

    })

});   

Hope this helps someone else out struggling with this issue!

Registration open for the April 12, 2017 Boston Area SharePoint Users Group Meeting

BASPUG_195square_initialsRegistration is now open for the Boston Area SharePoint User Group (BASPUG) taking place on April 12th, 2017, at the Versatile office at 450 Donald Lynch Blvd., Suite B, Marlboro, MA​ from 7:00-8:30 PM. Click here to register!

Jared Matfess will be presenting "Enhancing Your SharePoint Business Solutions using JavaScript & REST"
Session Abstract

​This demo-heavy session is going to focus on showing you how to enhance your current business solutions using JavaScript & libraries such as DataTables, Google Charts, MomentJS, and more. Learn how to grab data from SharePoint Lists using the SharePoint REST API and display that information in a more meaningful way on the page.​

About the Speaker

Jared is a Solution Principal working for Slalom Consulting, a Microsoft Managed Partner providing national Business & IT solutions headquartered in Seattle, Washington. He is a Microsoft Certified Professional (MCP), and has over a decade of experience building technical solutions, and solving business problems. He is a regular speaker at user groups & SharePoint Saturdays all up and down the East Coast. Jared is also a Microsoft Most Valuable Professional (MVP) in the Office Servers and Services category. He can be reached through his blog or on Twitter (@jaredmatfess).

MEETING SPONSOR – Versatile

At Versatile, we understand your IT solutions require careful consideration, whether you’re making traditional IT or cloud decisions. By focusing on clarity, simplicity, and support, we help you align your computing decisions with desired business outcomes. We take great pride in helping your organization run smoother, more efficiently, and more profitably by helping you find the right balance between traditional IT and cloud computing.

Versatile is more than our name – it’s who we are.​​​

SUSTENANCE

Food and beverages will be provided at the meeting free of charge from our meeting sponsor. We generally have pizza (with and without meat), as well a salad, water, and sodas. Beer and wine will also be available.​​

RAFFLE PRIZES

We will be handing out raffle tickets at the BASPUG meetings.

LOCATION

We will be meeting at the Versatile office at 450 Donald Lynch Blvd, Suite B, Marlboro, MA. Parking is free.

LINKED IN

Join our group on LinkedIn today to connect with the rest of the BASPUG members, and spread the word!

FACEBOOK
We are also on facebook! http://www.facebook.com/#!/pages/Boston-Area-SharePoint-User-Group/113652405354617

TWITTER
Follow news about the Boston Area SharePoint Users Group on twitter by following us @BASPUG, and by using the hashtag #BASPUG

WEB
Visit the Boston Area SharePoint Users Group website at http://www.bostonsharepointug.org

ORGANIZERS
Event meetings are organized by Geoff Varosky and Bob German of BlueMetal, James Restivo of Crow Canyon Systems.

Please visit The Boston SharePoint Area Users Group page for more event details!

%d bloggers like this: