Infopath Sharepoint forms - sharepoint-2013

I have been given a simple task of creating a sharepoint form, collect few information, Make and API call, do some calculation using response from API and the original input and show results on the page.
I don’t have much experience in working with sharepoint or infopath. I have been told that infopath is the way to achieve this
Can someone suggest what’s the best way to achieve this ?
Can we use JS in infopath ? Or is it only c# ?
FYI:- power apps is not an option due to legacy platforms

SharePoint has out-of-box features to implement your logic to collect data from user. It is out-of-box list and its list items. On list item creating you have out-of-box form with fields. No InfoPath required. You can add on this form some logic to implement your API calls and displaying its result. I think If I correctly understood then you can do it without any additional tools. You will need just to write code for API calls. SharePoint has also out-of-box list view. Here you can see all data collected from users.
InfoPath required if you need difficult form logic. Like I want choose value here and another value will be calculated on this value and set to another field and additionally will be formatted.

Related

auto-populate a column in a new row in edit list mode in SharePoint 2013

I have a list that is connected to a form and filtered based upon a value in the parent form (an ID field). I want to allow the users to add new rows by directly editing the list. In doing so, I don't want to have to make the users enter in the value that already exists on the form. I can't seem to find anyway of doing this.
Example Screenshot
Are you using infopath ? I think your option is to call a web service to verify such thing. Or if you customize your form using javascript you could achieve this the same way by javascript.

Access 2013 on SharePoint 2013 Online - Multiple Questions

Very long time since I even look at Access.. but on SPO, with a database on Azure it seems really nice ... wondering tho..
Any way to remove that left pane with the Databases from the UI?
Set a list button to go to a URL formatted using selected column fields in the row?
Join in oData datasource like SharePoint Online List? Validate against SharePoint list Data? set dropdowns to lookup using SharePoint list data?
Any file upload control and upload to a sharePoint Library? A way to add metadata to a file and do some validation - like does file exist with this metadata. Dynamically rename files to some unique string.
Perform complex field validation with REGEX?
Secure the application and database to SharePoint groups.
What's the business language of choice? Not clear on how to edit and save macros. Can it make calls to webservices?
Any way to change that obsure url you get for the App in SharePoint 2013 Online?
Any way to remove that left pane with the Databases from the UI?
No, but there is a workaround. Right click on the tables you don't want to be visible, and select the option to hide them individually. You can also rename the table-views in that pane, so they appear to have more user-friendly names for your end-users.
Set a list button to go to a URL formatted using selected column fields in the row?
The best way to achieve something like this would be using a hyperlink control attached to a calculated column in your table/query where the URL and display text are computed and linked together automatically. If you need list functionality, you can allow the user to select an item in the list, and have that automatically update a separate hyperlink control to provide the link functionality.
Join in oData data source like SharePoint Online List? Validate against SharePoint list Data? set dropdowns to lookup using SharePoint list data?
Access 2013 Web Apps cannot pull external data at this time. Access 2013 Web Apps only accept incoming data connections e.g. a MS-SQL or oData service can use industry-standard methods to connect to your Access Web App and validate data.
Any file upload control and upload to a SharePoint Library? A way to add metadata to a file and do some validation - like does file exist with this metadata. Dynamically rename files to some unique string.
The only file support currently provided by Access Web Apps is in the form of images uploaded to an image field inside a table. This is useful to add people's photos to their records in a "contacts" table, and things like this. Other than that, you will need to use a custom SharePoint library interface for this type of functionality.
Perform complex field validation with REGEX?
Not currently supported to my knowledge.
Secure the application and database to SharePoint groups.
This functionality is handled within SharePoint, not within Access or SQL Azure. Secure your SharePoint site collection as needed, and these security settings will apply appropriately to read and/or write operations by SharePoint users within your database. e.g. a SharePoint "visitor" (read-only access) will not be able to edit any data in your database - only view it.
What's the business language of choice? Not clear on how to edit and save macros. Can it make calls to web-services?
In Access 2013 Web Apps, VBA is no longer supported. Macros have to be written using the GUI "wizardy" macro interface, which greatly limits the scope of available operations. As a result, you cannot perform more complex tasks, such as making calls to external web-services. However, for basic data operations and UI operations, the GUI macro interface serves the purpose well.
Any way to change that obscure URL you get for the App in SharePoint 2013 Online?
The URL is randomly assigned when you create an Access 2013 Web App, but is guaranteed to never change after it is assigned. Therefore, you could reasonably use your DNS/web-host to "mask" the URL with a CNAME or other type of HTTP redirection. There are many ways to do this, and they are all external to SharePoint and Access 2013 Web Apps, so it's up to your DNS and web providers to support this.

What is the best way to display a filtered List View in SharePoint?

We got a standard-webpart, which displays the document library using views. We can use these views using the SharePoint Designer to customize to our customers needs.
Now the customer wants to have filter/search - option that is used on the title of the documents.
What would be the best ways without writing custom code?
Can it even be done just using SharePoint-Designer and standard-webparts?
I was able to this in sharepoint 2007, and i believe this is also applicable in sharepoint 2010, check this site for more info http://sharethelearning.blogspot.com/2007/03/filtering-list-by-partial-match.html
this is by using data view web parts.

Smarter sharePoint Forms. Redirect to another list based on entry on the first list?

On Moss 2007.
Without completely ripping apart the native SharePoint generated list newform. Is there any way to redirect users to another list's newform based on what they enter in the current list newform?
Maybe, can the source redirect point to a form that interpreting fields passed in a query string and then decide where to take the user?
By chance is this any more possible in SP 2010?
One approach would be to create a new 'NewForm' that inherits from the standard NewForm and add the redirect logic to the page after the form has been submitted. This thread looks like it can get you started on how to override the page.
Another approach may be a custom web part that checks the status of the list and performs the redirect. Maybe you can do something with Javascript and the content editor web part.
Event receivers will not work, as they happen asynchronously and have no sharepoint context associated with them, in other words, you can't perform a redirect from them.

CakePHP Pagination with Webservice

I am invoking a web service and get data. The result has "TotalPages", "TotalResults" information.
Based on this, I need to generate a paging mechanism using cakephp.
Please share some code snippet or advise me on how to achieve this.
The Pagination Helper will make displaying the paginated data a lot easier for you. However, it operates on the assumption that you are using a Cake Model. Luckily, you can create a Datasource (the manual is empty, but the API documentation and searching Google will teach you more) and a Model to use your Datasource and you should be in business.
The Yahoo BOSS and RSS Feed Datasources should be useful examples.