I tried to use the documentation indicated here, but unfortunately the example code is really difficult to follow.
For example:
The code from the image above returns 400 error. However, if I tried the one from the repo it works. Like so:
$response = $hubspot->crm()->companies()->basicApi()->getPage();
The toObjectType does not have description on how to use it too. Maybe there is a separate documentation?
Any idea with this?
Just for future reference, don't get mad at me.
Just go to https://developers.hubspot.com/docs/api/overview
Go to CRM section then under Objects > click Companies (for my case it is for companies) on the left sidebar.
Click the Endpoints tab.
Click Endpoints for this page dropdown to select what endpoint do you need. For my case I selected List of companies under Basic type since there is 2 types of API which is the Association and the Basic.
You will see an example code on the right side of the page.
I've already uploaded data from SQL Analysis services, and after this I can make any calculations or make any changers in the report because Transform data is unclickable and I cannot use Power Query Editor .
But if I upload data from SQL Server then everything works fine.
Could you help me, please, find the reason why I cannot work with data from SQL Analysis services?
There are different ways to work with Analysis Services. When using the UI, the default way is to connect to the whole data model. That means you can use all the pre-defined measures for example. If you want to add additional tables to that model, you have to change the connection to direct query. This is a preview feature that must be enabled by your admin: https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-directquery-datasets-azure-analysis-services
If so, you should see a clickable link at the right bottom like so:
If you clik on it, a dialogue like this should pop up:
After accepting your are able to click on "Transform data" to import more sources.
Is it possible to set some flag in my browser so that I always get the RECAPTHCA image challenges? Sometimes when you click on the "I am not a robot" button, it gives you a pop up challenge with something like "Click all the images which contain a car", but sometimes it just checks off the box and takes your word for the fact that you're not a robot.
I would like to test the UI of my tool both on a desktop and on mobile, and make sure that the challenge pop up shows up and interacts well with other elements of the page.
In other words, as a developer, I want Google to think that I'm a robot so that it always gives me the visual challenge.
Is there any way to force this behavior?
Note: I've done some research and was unable to find any relevant questions or blog posts that might yield an answer.
Force Google recaptcha to use simple checkbox click challenge asks for a way to force Google to NOT use the visual challenge, only the checkbox
How to force recheck user with reCAPTCHA? talks about forcing a recheck of some kind, but has no answers
https://groups.google.com/forum/#!topic/recaptcha/2ed-s3KK3Do actually asks my same question, but users did not seem keen on providing answers, with one user just suggesting not to use RECAPTCHA at all!
https://developers.google.com/recaptcha/docs/faq#id-like-to-run-automated-tests-with-recaptcha-v2-what-should-i-do is straight from Google, but it does exactly the opposite of what I want - it sets your site up such that the captcha appears on the page but is actually a test captcha that always lets you pass, and NEVER gives you the challenge. I want the exact inverse of this.
The methods told here should generally work, but there is no guarantee of the same. There is a very easy way to guarantee that Google reCAPTCHA challenge always show up. All you need to do is to add a custom BOT device in developer tools and then use the same to test.
In Chrome Dev Tools, open Settings. Open Devices after that.
Add a custom device with any name and set User Agent String to Googlebot/2.1
Finally, in Device Mode, at the left of the top bar, choose the custom device that you created (the default is Responsive).
Thanks to the SO users who had put it up in the answer and follow-up comment here.
I too have been looking for similar functionality. While I have not found a code-based solution to force the challenge, I have found a fairly reliable hack.
Grab a VPN tool (I happen to use IP Vanish), then connect to a remote server (I've had success connecting to China). Then, open up a private/incognito window and fill out your form.
From my testing, the combination of the remote IP and the blank user session triggers the challenge.
Here are a few things you can try. In my experience all of them will increase your chances of getting a challenge.
Log in at https://www.google.com/recaptcha/admin and edit your
reCAPTCHA settings. Under Security Preference choose Most Secure.
Use a VPN + incognito mode (as suggested here)
If you're using the invisible reCAPTCHA, I found that using explicit
rendering + immediately calling grecaptcha.execute() after
grecaptcha.render() will usually trigger the challenge. I suspect
this is because Google's AI expects a user interaction of some kind
to trigger grecaptcha.execute() and not the onloadCallback itself.
I use reCAPTCHA's SDK in Android, and I also encounter the need to force validation when testing. I tried it many times. At last, I turned off or turned on the flight mode, which can be verified in the retest. I guess it may be that Google put my IP on the white list in the background, so I passed the verification without any challenge.
That should be possible, because when LinkedIn forcefully logged out an user for excessive usage, it showed captcha on next login, and there always was the challenge.
Unfortunately, LinkedIn switched from Recaptcha to another provider just few days ago, so I cannot just look up into their JavaScript code.
It is what makes me believe that Recaptcha does have an undocumented option to force the challenge.
2022 and later
It seems to be increasingly harder to trigger the recaptcha challenge of the invisible recaptcha. Using the UserAgent of a bot, going into incognito mode is not enough anymore. A VPN might work, but I do not trust free VPN services.
I am however still able to trigger the recaptcha challenge when I'm only using the keyboard while filling in the form fields and pressing the submit button with the enter key. It seems like the Google Recaptcha is now also following your mouse movements to determine if you are a real user. Make sure to never hover your mouse cursor over the webpage and only use the keyboard.
I was looking for something like this and after some research plus trial & error what worked for me is to use the invisible recaptcha and invoke the challenge with JS.
After you have loaded the recaptcha script on your page then do
grecaptcha.execute()
and the challenge might be invoked.
Is there any way to update an activity entity's create form's fields by using a dialog without saving the entity first?
Let me explain.
The customer calls us and our represent opens a phone call activity. At this point it's on a 'create new' state.
Now, since we have freaking many contact informations and other things related to it in the system I have created a dialog to help user to find out the caller's informations. The dialog first asks the name who is calling. Then it asks about which building / apartment he is calling (it's part of our business model). Then it keeps asking things for a while.
Finally, the dialog has gathered all necessary information and is about the put the values into the form.
But here's the thing. I'm using an Update process within the dialog, but of course I can't update something that doesn't exists. So at the moment it works like we always have to save and give a title for the entity first. Then run the dialog.
It's a minor fault but it may be a problem if, for some reason, in the middle of a dialog, the process is cancelled. Then we would have an empty phone call there with some title. Besides one extra click is always one extra click.
I hope you understood my question.
Please feel free to asks.
Bye!
Like Greg, it seems to me that you are trying to capture information about the contact and the phone call at the same time, so starting by opening a new record may not be the most structured way to go about this. A couple of possibilities:
use a dialog but don't run it against a Contact necessarily. Maybe run it against a user. Use the first few pages to establish if this is an existing Contact and if not, create one from data captured, then create the phone call record against the selected or created Contact. You can run a dialog like this from a link on a dashboard for example, you don't need to navigate to users screen to do it.
Gareth Tucker has written several articles on his blog at http://gtcrm.wordpress.com about contact centre automation, including some interesting ideas (with free downloadable examples) about using JScript on the phone call form to capture contact details and create a linked Contact record on the fly
It sounds to me like the business process could be improved. Ideally your solution would be to change your dialog process so that it runs against the customer (contact?) entity, i.e. when your customer calls up, users find that record and run your dialog instead of creating a phone call activity then running the dialog.
That said, if I understand your question correctly, you are using the dialog perhaps to assist the user in finding the customer's details. Is this true? I don't understand how this would work so you may need to provide us with some extra information here.
If the underlying issue is that the user can't find the customer, it sounds like you need to provide more search fields for the user in the customer view...
In my app, I want to be able to send an SMS. So when you press a button it will take you into the messaging area and will automatically put in a number and a message... If so could you please provide me with source code example on how to do this?
Any help will be appreciated!
Have a look at MFMessageComposeViewController - it provides functionality you need and it is simple enough to use with just the reference at hand