Skip to main content

Upcoming Changes to JavaScript in Quickbase

  • Feb 3, 2021 10:08 PM UTC
  • 63 replies
  • 3403 views

Show first post
This topic has been closed for replies.

63 replies

Forum|alt.badge.img+17
  • Quickbase Staff
  • Mar 5, 2021 7:57 PM UTC
@Brad Lemke I'm really glad to hear that helped you feel less daunted by the change. The Rich Text versus Rich-Text Formula is a fine detail but obviously an important one since the Rich-Text formula fields are where a lot of that code is more intentionally put, so August is going to be that bigger goal post for a lot of people. I may go back in and make sure to bold the distinction so it is more obvious to others and make sure I frontload that one in conversations. ​

@Evan Martinez thank you for clarifying that - much better news.​

Forum|alt.badge.img+5
  • Observing
  • Mar 14, 2021 10:25 PM UTC
@Evan Martinez could you please clarify something for me/us? I've read the entire thread and I'm still confused.  Here's the bottom line:  I use forms that have embedded iframes containing small web pages of information that are built on our secure website.  Additionally, I embed videos from Vimeo and PDF's into forms. This is all core functionality that I knew I needed, and investigated thoroughly with my sales rep from QB two years ago, before spending hundreds of hours developing our app on your platform.  At that time, in order to close the sale and get my business, the examples shown to me by your own internal team, were examples straight from the MagicButtons app that I utilized.  If they weren't technically 'supported even back then (as indicated in another thread), then why did your sales team use those features when they needed to show that functionality to close the sale?

More importantly:  I'm not even complaining about having to rework all this.  I should be, but I'm not.  What I need a simple answer to is this:  Is there going to be a new way that I can learn, to embed outside web pages, PDF's and videos INTO FORMS specifically?

The bottom line for me is that I've spent time that can't be regained, thousands in outside developer (your partners) help, and about 40k in subscription costs with Quickbase.  As a small business doing only 3 million a year in revenue, that's a lot of investment.  If there is a way to continue putting data from our website (pages designed for that purpose), videos and pdf's into forms, then I'll bite the bullet, learn the technique, and invest the time into getting it done.  Sucks, but I'll do it.

However, I'm not seeing where code pages would fix this.  If I can't continue creating forms with these outside elements (embedded pages, videos and pdf's), then my ability to meet my needs through use of Quickbase comes to a close in August of 2021.  And I've wasted an immense amount of time and money.  What I would do as a recourse is something I'll have to figure out.  But I need to know as soon as possible.... will I be able to continue doing the very thing that caused me to purchase Quickbase as a platform?  Or not?  The sooner I can get this answer, the sooner I can start figuring out what actions to take, what other solutions to explore, etc.​​

My organization along with several others heavily uses JavaScript across the application to perform a multitude of tasks, like iframing, hover over css change, save and redirect, confirmation dialogs before actions etc.

If you are really a customer centric company, you would provide an alternative/easy way to accomplish those common use cases before just disabling things and breaking applications that have evolved over years to truly meet the business needs.

Disappointed that the transition plan you have is not good enough.

Forum|alt.badge.img+17
  • Quickbase Staff
  • Mar 15, 2021 2:46 PM UTC
@Joe Hargrave Firstly I do want to address your main question on if there is another way for you to accomplish all of your needs in a form right now. You are correct that the Javascript change does mean that there isn't another way right now to pull in iframes, videos, or PDFs directly on the form. There is work being done right now to look into a safer way to Iframe in content and to consider how we can improve forms (an example of which is live in our new Dashboard's beta) and feedback from users effected by the change is really important to highlight gaps we can look at. That is why when we reach the dates set in our plan we are locking down new javascript and editing but we aren't disabling them, giving admins more time to plan their changes and make them. 

The heart of this change is that Javascript in the platform as it exists today presents a possible security concern to every account but another valuable part of the change is that right now our teams working on new features and functionality always run the risk of breaking existing Javascript in an app with no warning to that apps admins or users since we have limited insight into what they coded. A big component here is to communicate to every account that we are closing this down for security reasons but also to allow future innovation and give people time to transition off of techniques that leave their apps vulnerable to change and that frustration. As the use of javascript grew the concern here became bigger if we didn't make a clear communication and break to prevent people from building with methods that are risky both for their security but also for the future of their apps and unfortunately there is pain that is going to come out of this change but we want to do our best to listen to the feedback we get. ​

@Avinash Sikenpore In our current transition plan what is the biggest pain point for your use of javascript and QB? For example for save and redirects we are starting to release new options for redirecting a user and enhancing our native formulas to increase their reach and power like the enhancement coming in our March release that I pulled from our release notes below: 

Enhancements

Formula URL and rich text can now redirect to where a user started

Previously, builders had to pre-define a location for their formula buttons to redirect to, or first redirect to a custom code page. Starting in this release, a new URL pattern is available to redirect an end user to where they started. For example,

URLRoot() & "db/" & [_DBID_SUB_TASKS] & "?a=API_AddRecord"&"&rdr="&URLEncode( URLRoot() 
& "db/" & Dbid() & "?a=doredirect&z=" & Rurl()) 

If you have other gaps you are concerned about we would definitely like to hear them.




​​​

Forum|alt.badge.img+5
  • Observing
  • Mar 15, 2021 3:48 PM UTC
@Evan Martinez Thank you for the answer; but as you already know, it's a non-answer.  I do understand that it's the only answer you have, and I'm not pointing fingers at you, personally. 

Can you please verify for me which of the cutoff dates applies to iframes on forms?  Even my QSP doesn't understand which date applies to those.

My bottom line is simple, and it seems a lot of folks will be in the same boat, though they may not be wording it as strongly.  If I cannot continue adding these elements specifically to forms, I have to abandon Quickbase.  Period.  This HAS to be allowed in another manner, BEFORE the cutoff date, so there is no downtime on existing functionality or on adding new iframes within forms.  If there is any downtime on that ability, then I am no longer a QB customer.  There is no other alternative for me, and I won't / can't even consider such.  Adding the functionality to code pages accomplishes nothing for me at all.  These iframe inserts have to remain ON FORMS.

I have also put in a request through the help system, and my QSP is looking for answers.  Due to the fact that I have all documentation from time of sale, including a recording of a tech call/screen share where I was shown this functionality to secure the sale, if this function goes down, I will be looking for two years of full refund, as well as any cost for QSP development, from QB.  I won't elaborate any further on a public forum, but I'll make as big a deal of this as a little company from Texas can make, and from reading all the community posts and commentary here, I don't think I'll be the only one.  QB needs to really consider their customers here, and they need to consider what is the right move for their business in a world where public reviews and comments can make or break even a large company's business and public reputation.

I just need answers.  And I don't need to have to wait until even closer to the deadline.  If this functionality won't exist soon, I need to start app development on a competing platform YESTERDAY.  

Even if iframes had to be submitted and approved, and the workflow was slowed... I don't understand the "security issue" and I don't care to.  It's not an issue that affects me or my company's app, so it's not relevant to me.  I don't need to understand the tech side of it.  I need to know what the solution is, or will be.  And I need to be ensured that the new method will be released before the old method is shut down.  

Keep in mind that you're shutting down features your own team has designed for many of our apps.  Saying it was technically never 'supported' isn't going to fly with your customers, nor will it fly in other venues due to precedent set by your own employees and QSP's.

Please do everything in your power to alert the powers that be to the fact that it's imperative they not close features without replacing them, breaking the apps many of us rely on to run our businesses.  We placed a massive amount of faith in QB when we chose to hang the success of our businesses on your software, and your promises. This company is my only way to support my family, and over 100 other employees.  This app IS the way we run our business.  This isn't play time. These aren't video games. This is our livelihood y'all are screwing with, and yes... that one feature makes or breaks the entire product for my company's use.  And I don't seem to be the only one.  Y'all are the 'big guy' here.  Treat your customers right.  Do the right thing.  Don't make this blow up.  Please.

Forum|alt.badge.img+17
  • Quickbase Staff
  • Mar 15, 2021 10:18 PM UTC
@Joe Hargrave The iFrame functionality you’re describing will be locked down based on where they are being used in the product. You won’t be able to create more or edit existing in each area after its respective release date. If your iframes are being used in Formula Rich Text fields (the most common case) they would lock down in August. If a user has put them into a manual entry rich text field(less common) those would be locked down in April as listed in the article above. 

We do not currently plan to modify or remove unsupported content (like your iFrames) from existing fields and they should continue to work as designed after the cutoff. However, they are still subject to some risk.  Our engineers will be going forward with our monthly release cadence and it is possible, and likely in some instances, for javascript and unsupported html to break with future changes. In the interest of helping you make an informed decision, we have plans on our roadmap to enhance forms, both in making them look and also function better, but as of right now, we don't have specific dates and deliverables mapped out around the iframe functionality if that is what you need to help you decide. We are working to continually identify gaps from customers and to see if and how we can address them. With regards to unsupported Javascript insertion, we already have some cases where we have encouraged builders to use native functionality or made them aware of future enhancements to native functions to help with that but we can't speak to every case's future today.  

For any billing conversations you are going to want to work with your account team. I have reached out to them to let them know you have concerns and want to have a conversation. This change is going to result in negative impacts for some customers, but for most, security and control of their Quickbase ecosystem is paramount, and it is our responsibility to deliver that to them. As an organization we have to be critical and balance those two perspectives. That does mean at times we have to make and take ownership of decisions that not every customer will agree with. We will continue to evolve as the needs of our customers evolve. Your feedback is absolutely important and valid as we make these changes and we are here to hear it and help you make the decisions you need to make. 


  • Qrew Corporal
  • Apr 5, 2021 4:57 PM UTC
I would like to second Avinash Sikenpore's comment stating the role out is not properly incorporating user feedback or isn't customer centric.  I get that quickbase thinks this is an overall improvement which must take place, but you have not properly rolled out alternatives yet.  A customer centric approach would pause the cut off of JS until alternatives are properly documented and in place.  Even if the number of developers using JS is seemingly small, the number of users impacted is vast.  Thanks for reading.

@Evan Martinez - Some of the use cases of JS in our formula fields:

1. Popup a small window to display a report from an existing form to provide additional details. For example in our Pricing tool, a small icon shows projects of similar type and size listed by the contracted price in a new popup, which is extremely useful. It would be clunky to do the native way of opening that report and navigating back

2. In order to keep the focus of the user and provide better UI, we have several buttons that perform a certain action. But the button color is grey which changes to a bright green or a blue when hovered over. 


3. Third use is is a simple JS confirmation prior to perfoming an action like archiving/deleting to ensure that the click on that icon/button was intentional. We use an inline formula to compare the response and then make that API cal using a custom URL plus redirect.

Other examples pertain to one or more functions built via codepages within a record form for performing a particular activitiy. For example users can open a dialog to upload multiple files to a BOX folder with the metadata that is associated with the record where this image onload technique sit on.

Forum|alt.badge.img+17
  • Quickbase Staff
  • Apr 12, 2021 2:08 PM UTC
Hi Everyone,

We have some changes coming up with our April release I thought a lot of you would be interested to see some of the upcoming changes we have for formula-url and formula-rich text fields so wanted to highlight them here:

More control over formula-url and formula-rich text fields

These features and capabilities include:

  • Open a formula url as popup allows builders to set a website to open in a popup window and the existing setting to open in a new tab. You can use the same functionality with formula-rich text by applying the CSS class (OpenAsPopup).

  • Builders can now use a new CSS class (SaveBeforeNavigating) inside of a formula-rich text field so that Quickbase saves the record before navigating when this setting is used.

    Note that only one of the above workflow classes is supported per formula-rich text.

Embed a secure, external website as an iframe on a form. This provides builders a way to embed YouTube videos or other file services (Box, Drive, etc.) as a file preview. For security purposes, the only *.quickbase.com URLs that are supported are for code pages. All other native pages (*.quickbase.com URLs) do not function when embedded on a Quickbase form.

If you are interested in what other features our April release has the release notes are now live right here. 


@Avinash Sikenpore
The new open a formula as a pop up function should help you with your first point in your list. You should now be able to have a pop up of that report without pulling your user away from their main page once the April release goes live.

As to your other feedback it is always really important for us to get specific use cases like that so we can get a clear picture of where the experience gaps exist for you. There are some things we aren't going to be replicating in the platform after Javascript is shut down but there are opportunities for these needs to inform our continuing platform enhancements. I don't have a specific release or date for you but I know button styling is something we are often talking about evolving in the future.

@Jake R Thank you for your feedback we are certainly taking in all the feedback and concerns we are getting from our customers. This change is motivated by a need for security and reliability which at this time does trump some of the user experience pieces that Javascript is being used for today in the platform. Unfortunately that means that there are going to be pain points during this transition but your feedback and the feedback of other builders helps us to pin point areas where we can alleviate that pain and offer alternatives ahead of the specific retirement dates (many of the above enhancements in the April release got a higher priority due to customer feedback). There are going to be instances where we aren't going to offer one to one alternatives because the use of Javascript was so varied (and at times at odds with best practices and those same security concerns) but we do want to do the best to offer better workflow alternatives with a much better security and reliability focus. Was there a specific workflow or pain point you have that we might be able to help with or speak to specifically?


​​​​

@Evan Martinez will the SaveBeforeNavigating allow us to pass the Record ID# or key field into the redirection?​​?

  • Qrew Cadet
  • Aug 18, 2021 5:57 AM UTC

HI everyone,

I am facing issue in injecting my custom code page. By reading  all the docs, I came across that in order to inject your custom code you have to  make a field and insert your custom page as follows : ""&[iol] & "Formula_Save_Proposal.js" & [/iol]&"".

Earlier it was working fine and was getting saved , but now when i am trying to save this field it is giving  error as shown in image attached for your reference.Could you please help me to find a solution for same.
https://www.webpagescreenshot.info/#v2=UIe0NkzZu​


BrianCafferelli
Forum|alt.badge.img+17
Hi @Adis Kljajic, as we have described above, it is no longer possible to insert JavaScript code to run in a formula field. So the "unsupported content" message you're talking about is working properly. We encourage JavaScript to be used in Code Pages, but those code pages must be loaded in a separate tab or window for security purposes.

You can read about supported alternatives for common use cases for inserted JavaScript in our community article here. If you have any further questions on this, the best thing to do is to open a support case and help us understand specifically what you problem you would like to solve.