How to get google sheet cell dropdown all options in PHP laravel? - laravel

I am using this package https://github.com/kawax/laravel-google-sheets, but unable to get all options of drop down. Is there any other package which we can use to read and write values of google sheet.

Related

Importxml using xpath returns #N/A error with imported contents is empty"

I am trying to scrape texts using importxml / xpath. But it returns #N/A and "Imported content is empty".
I am trying to scrape "223 3563 ROSS DRIVE" on the top. (In fact, I will try to scrape all the information in the page later.)
I have tried with these two codes from GoogleSheet, but no success.
Please help me resolve this.
=index(IMPORTXML("https://bcres.paragonrels.com/publink/default.aspx?GUID=11a3e139-7499-4271-813a-fe2f70ffd304&Report=Yes","//div[#class='mls21']"),1,1)
=index(IMPORTXML("https://bcres.paragonrels.com/publink/default.aspx?GUID=11a3e139-7499-4271-813a-fe2f70ffd304&Report=Yes","//*[#id='divHtmlReport']/div/div[154]"),1,1)
IMPORT function can’t extract from content that loads with JavaScript. You can check this article: https://www.benlcollins.com/spreadsheets/import-social-media-statistics/#notWorking
You can confirm that the website is JavaScript controlled by clicking on the ‘Lock’ icon beside the browser’s address bar, select ‘Site settings’ and set JavaScript to ‘Block’. Reload the page and if you don’t see the data you’re trying to extract, then you will not be able to get it with IMPORT functions.
An alternative to do it through Google Sheets would be to look for a Sheets Add-on that may work with JavaScript content.

Dynamics CRM - Custom development

I'm completely new to the Dynamics CRM environment.
Within our current implementation, there is a grid which displays a list of current sales opportunities. Within this grid, there is a column for the user which is a link to another part of Dynamics. We want to instead be able to open a new window to another system. How can I customize how that link gets rendered out so that the client "onclick" function can link to a javascript function which will open a new window with the URL we need?
Please see attached:
Snapshot of Dynamics grid
Im afraid that this is not possible with supported customization.
My understanding is that you will keep URL to external system on entity and you would like to be able to open with single click from grid displaying this record?
However, Im not sure if you add this fields as single line of text with format option URL won`t work as expected. If this does not work, you would need a custom grid to display this data.
You can store url in text field with format URL, click on such field will open link in new window/tab.

Sample project for Telerik RadGrid using DropDown for Edit/Insert

I am badly stuck with using DropDown for Edit/Insert in RadGrid. So far I have been successful in displaying data in dropDown inside RadGrid, but not being able to Update to database. While trying to update, I keep getting error:
Telerik.web.UI.GridException "Cannot find a cell bound to a columns name 'XXXX'
Also we cannot use sqldatasource for security purposes. I searched a lot but can't find solution. If someone could provide me with a working code it will be very helpful.

Rally custom dropdown to multiSelect

We have a custom drop down and need to make it a multiSelect. Your answer gives me hope but so far, I have not figured out how this can be done. I played around how to build custom grids using JavaScript. Is it possible to make an existing custom drop-down list to a multiSelect? If it is, can be it used in the existing Rally screens or do we have to use interactive grids to be able to update the field?
Please advice on how this can be achieved.
Thank you, Rajani.
A custom dropdown cannot be turned into a custom multiselect. There are no custom fileds in Rally of mulitselect type. You may write a custom app using AppSDK2 with a MultiObjectPicker
For example, here is a rallymutiobjectpicker that allows selection of multiple testsets:
this._testSetPicker = Ext.create('Rally.ui.picker.MultiObjectPicker', {
itemId:'testsetpicker',
modelType: 'testset'
});
Later you may use _getRecordValue() to get the array of selected records:
var selectedTestSets = this._testSetPicker._getRecordValue();
A custom grid and a custom html app are not the same.
A UI component created with AppSDK2 cannot be added to a custom grid, and cannot be added to existing Rally pages, e.g. a Defect or User Story details page, or any summary page.
The MultiObjectPicker can only be used in a custom code that you write and then copy your deployment html and paste it into a custom html page.
The developer portal also has links to great videos by David Thomas. See all the links in this post for details.

Create WordPress posts from JSON array using plugin in admin

I'm writing a WordPress plugin that I'd like to do the following:
Add a WordPress plugin admin page that contains a button
When you click the button, it loads an array of JSON objects from a file, then creates a WordPress post for each object
I got #1 done, and I can see the array of JSON objects loading upon button click since I use console.log. (I made the button using this tutorial: http://www.youtube.com/watch?v=7pO-FYVZv94#at=2164 -- uses AJAX.)
But, how would I go about giving WordPress access to the JSON array so I can create posts using wp_insert_posts? Is this even possible?

Resources