Jump to content

douvega

Caspio Guru
  • Content Count

    127
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by douvega

  1. Hi, I think you might want to learn yourself about writing API coding or hire a developer since these type of topics are difficult to manage to get your desired results. Good luck.
  2. Hi, This is a many to many relationship case as I have understood. So, you give an ID to each of your lecture entries, then you have a third table to JOIN all this data together without restrictions. So in this new table, you only need a field for your Lecture_Rel_ID and other for the tag. If your tag is coming from another table, then just put the Tag_Rel_ID in this new table. I hope this can give you some guidance or light about further steps you might need to take to achieve what you are looking for. Regards.
  3. This is a very specific requirement, I would recommend you trying Caspio Professional services or hiring an independant developer to achieve what you need.
  4. Does your payment gateway offer webhooks or messaging service for each transaction? What is the payment gateway you are using?
  5. Even though the standard payment flows that Caspio offers are very good, @Bradl is right, no recurring payments are available. I would like to recommend you trying this third party API connector which allows you to connect your payment processor directly to Caspio.
  6. What you are looking for is possible with the AWS S3 API, there is a method to create a signed URL to your file and you can set the live time to 1minute for example so links are valid only for that time frame, anyone using the link out of that frame will get an error message from aws. It is not necessary to set your bucket public and the user get a more natural experience since it is secure without having to put in a password everytime he wants to view a file. Process starts from putting the initial file since it has to somehow relate to your Caspio record, it could be a complex pr
  7. I think this Caspio tutorial is what you are looking for. I hope it can be of help. Regards.
  8. Hi, Yes, passing the WordPress logged in user email as a parameter is completely possible. However, you must be a bit techie to get it done, you could create a button using the WP method wp_get_current_user() in the PHP of your site and then pass the email as URL parameter. I found this article on the web which could help you If you do not have the expertise of doing something like this, I would encourage to hire someone to do it for you as you may cause serious damage to your site if it is not done properly. I hope this gives you some light on what you are trying
  9. Hi there, Based on my experience, these type of services such as Squarespace or Weekly suffer some limitations when combining it with such a powerful service like Caspio. I would rather advise to create your own HTML site for hosting your web application, you will discover it is easy and the interface and other functionalities have no limits, you on control over everything. Another good alternative, in case you do not want to play with HTML coding is a WordPress site, you can manage your pages in the way you need with a drag and drop site builder. It all depends on your
  10. If you want to copy data from one account to another, then you can try using the Caspio API. However, you must be aware that this could be a costly operation depending on how many records you are copying. If you share why you are trying to do somethink like that, maybe we can find a work around. Regards.
  11. Thanks, the following code should work: <a href="#" id="myLink_[@field:Nurse_ID]" target="_blank"></a> <script> if([@calcfield:1#] > 0){ document.getElementById("myLink_[@field:Nurse_ID]").innerHTML = "Edit Password"; document.getElementById("myLink_[@field:Nurse_ID]").href = "https://MyAcct.caspio.com/dp/1234?Nurse_ID=[@field:Nurse_ID]"; }else{ document.getElementById("myLink_[@field:Nurse_ID]").innerHTML = "Add Password"; document.getElementById("myLink_[@field:Nurse_ID]").href = "https://MyAcct.caspio.com/dp/1234?Nurse_ID=[@field:Nurse_ID]"; } </script>
  12. Hi @BFuchs Your code is not working for all rows since you are generating several items with the same id "myLink", remember each id must be unique. Could you please identify a field within the table which is unique so I can provide you with the proper JS? Tell me the full name of the unique field.
  13. Hi @Ras2019 What is the datatype for [@authfield:Company_Users_tbl_Company_ID] field? Is it autonumber, random ID, GUID??
  14. Hi @gsgriffin Your question seems to be a bit confusing. Do you have a sample page we can look at to see what the issue is? Regards
  15. douvega

    Estimate app

    It seems to me that you need a one to many relationship since one bid can contain many materials. https://howto.caspio.com/tables-and-views/relationships/
  16. I posted a NodeJS sample code to get the authorization token in the following post: You can reuse the code for making more calls as needed.
  17. In case someone is looking to connect to the CASPIO API using NodeJS, here is the code sample to get the authentication token. const https = require('https'); const querystring = require('querystring'); const data = querystring.stringify({ "grant_type": "client_credentials", "client_id": "[INSERT CLIENT ID HERE]", "client_secret": "[INSERT CLIENT SECRET HERE]" }); const options = { protocol: 'https:', host: '[INSERT CASPIO ACCOUNT HERE].caspio.com', path: '/oauth/token', method: 'POST', headers: { 'Content-Type': 'application/json' } }; const req = https
  18. Replace your code with this: <script type="text/javascript"> function f_listbox(fieldObj) { //Set field to multi-select fieldObj.multiple = true; //Get field values var values = fieldObj.value; if (values.indexOf(",") > 0) { for (var i=0 ; i < fieldObj.options.length; i++) { if(fieldObj[i].value == values) { fieldObj.remove(i); break ; } } var arr = values.split(", "); for (var j=0 ; j < arr.length; j++) { for (var i=0 ; i < fieldObj.options.length; i++ ) { if(arr[j]== fieldObj.options[i].value){ fieldObj.opt
  19. Hi @davidhshugar I know you have sorted this partially, however, I would bring another solution for you. You can use REST API to post (create) the record everytime a user opens the webpage. I recommend you using this service which lets you do these type of integrations very quick. No datapage autosubmit needed but it is either JS or jQuery dependant to accomplish your goal. I hope you can explore this option, if you need help send your questions.
  20. Maybe you are missing a variable in your JS since that post is made to have your options selected. Please send the JS you are using to check it.
  21. It would be better to hide buttons from the Style directly. Create a new Style and apply it to the datapage you would hide the buttons from. Go to Source tab inside the new style and then select "All" from the left tree options under Datapage Elements section. Look for the type of container you are trying to hide, selections might be: cbSubmitButtonContainer, cbBackButtonContainer, cbDeleteButtonContainer, cbSearchButtonContainer, cbLoginButtonContainer, cbUpdateButtonContainer, cbPasswordRecoveryButtonContainer, cbPasswordResetButtonContainer Find what you are looking
  22. Hi @ronbrumbarger, You can not access data from another table within a table. You can surely access cross table data from Calculated fields in your datapages. What is the purpose of having something like that in your app? Generally, there are workarounds that might work for you but you must be more specific about why you are trying to do that. Looking forward to hearing from you...
  23. Hi @wimtracking2, Reason is because you can not call List - String fields with the API. You must change how you multiselect stuff. My advise would be to explore 2 options: Change from List - String to Text64000 and use a JS or jQuery plugin in your datapage such as https://select2.org/getting-started/basic-usage Follow this Caspio solution for a Multiselect Listbox option: https://forums.caspio.com/topic/4315-js-multiselect-listbox-in-update-datapage/ This would store selections as comma separated values and Zapier will be capable of reading the field values. I hope
  24. Select the field in the datapage and go to the Advanced tab Under "External Associations and Defaults" section, enable the On load option and select "External Parameters" from the dropdown. Remove what is in the parameter text field and paste the today date parameter [@cbTimestamp*]
  25. You must create a field that captures the csv field in your app. Parse the file with Integromat POST the rows to Caspio using Integromat Those are like general steps but you will need writting JS and using APIs for achieving it. If you do not have time to do it, the best way to proceed will be to hire a developer since that is not an easy task.
×
×
  • Create New...