Need some suggestion on our approach using stored procedure for GI. The reason we are using GI is, we need to export the data to other application using OData.
We have only one company in our instance
We are creating Temporary
table first and stored procedure is doing all the required
calculations and fetching data from different tables and insert into
temp table.
We are thinking to create DAC for the temporary table
first and also a custom screen with a button which will execute the
stored procedure. Once the DAC is created we will use this DAC to
create GI.
My Questions:
We have hosted our Acumatica instance in shared hosting, will this be
a problem to use stored procedure.
Please suggest me is this the right approach or else please let me know some guidance to achieve this.
We have hosted our Acumatica instance in shared hosting, will this be
a problem to use stored procedure.
You need to ask your Acumatica Partner or Acumatica Partner Account Manager to know if this is allowed on Acumatica SAAS Servers.
Please suggest me is this the right approach or else please let me
know some guidance to achieve this.
It is not the right approach because Acumatica Framework has little to no metadata available about stored procedure. It can't inspect them and apply proper security. There are likely other reasons like compatibility between different DB provider involved.
The reason we are using GI is, we need to export the data to other
application using OData.
GI doesn't require stored procedure. You should look into other ways to populate the data, perhaps a process screen.
Related
I am very new to Kentico. I have been saddled with a project of recreating a spreadsheet as part of a Kentico built website. I need to accept input from a form, and do calculations and then spit the results back on the screen for the end-user. Again...I am very new to Kentico. So I have been trying to use a custom table, and a custom-table-form. I have it saving an initial record to the custom table, but it overwrites it each time. What would be a proper way of taking in an end-users values from a form and being able to preform basic CRUD tasks with that data (and then display it back on the page for the user to see)?
Thanks in advance!
#Tom,
Please try with Custom Table Input Edit web part from Kentico Marketplace.
You can always use the rest service
you can have table url like ~/rest/customtableitem.customtable.sampletable?format=json
and then do all CRUD operations.
The other way if you are new (my suggestion) is to start with examples (install corporate site example locally if you don't have it ). Check the /Examples/Web-parts/Custom-tables/ section it has all the example how to deal with a custom table. For editing you can use combination: custom table you should use custom table repeater, object management buttons and custom table form. Install the the example (even with the trial version)
We've a real pain in our project where we ask a team of 50 resources to update a single excel sheet that's placed in a network location and when someone tries to update the data, it's locked by somebody else and they don't update it. So, they end up not updating the data.
I'm looking for an alternate solution like
creating a form in sharepoint/ jira - no sharepoint/ jira developer
getting data in mail - too tedious and lots of rework
creating a custom form and hosting it in local server - might work - any templates on this?
Or, any alternates? I'm out of ideas.
easiest thing would be to create a simple SharePoint-List. All Users can update their data at the same time and the Input-Form will be there automatically. (Can also be exported to Excel)
If you are on SharePoint-Online you could also have a look at Windows Form which provide more flexibility in creating the form.
And if you need even more capabilities you can have a look at PowerApps
I'm creating a fairly complex orchard form and need the results saved to a sql server database. From what I understand, I should be creating a workflow activity and then on form submit, connecting to the database and saving the data through C#. Is this the correct approach?
I could also just create a module which is my custom form, and build the form myself, but would like to take advantage of orchards forms.
My question is
1. Am I approaching this correctly? or is there an easier way to do this.
2. I haven't been able to find any documentation on creating custom workflow activities. Is this even possible to do? Can someone point me in the right direction.
No, the custom forms module already saves the results, you don't have to do anything more.
Yes, you can create custom activities. Look at the code for the existing activities for examples.
I have a list in sharepoint which maintains particular month OnCall list,and we are maintaining employee directory in sql server. My requirement is to get complete data from sql server and show it in sharepoint and compare with sharepoint list and show small icon for the employees who are On Call for that particular Month. Can anyone please suggest me the waus of implementing this.
Thanks in advance.
Update: I have finished the part where I have to connect to the sqlserver database and get the employees information. For this we are using 3rd party web part to connect to the sql server and pull the data from the table. Now I have to show some kind of image on the employee name to show that he is on-call for that week. We are going to cretae custom list for maintaing the list of people who are on-Call. Can anyone please advise me on how to accomplish this.
Write a custom webpart which will pull the data from the list using sharepoint object model and SQL server using ADO.NET and do the said comparison.
If you were looking for out of the box, I am afraid there i too little information given here to analyze if its feasible out of the box or not.
If you have the SharePoint Enterprise version, you can look at using the Business Data Catalog. This will let you bind columns to external data sources. This might provide you with the functionality you're looking for.
If you do not have the Enterprise features, do you have access to deploy WSP packages and custom code?
You will have to write your own data access to your external data source. Your options would be to have a job that pulls data from the external data source and populates SharePoint list(s) or create a custom view that pulls the external data on-demand.
You'll have to come up with synchronization strategies. Meaning, is the data in the external SQL data source static, reference information that does not need to be updated depending on what a user does in SharePoint? This seems to be the case based on your question. If you do need to update the external data source, you'll have to hook into the on save event (so probably a custom event handler that listens for ItemAdding) to update the data, validate, and optionally cancel the operation with an error message.
If you can't deploy WSP packages / DLLs, you could take a look at the jQuery SharePoint library. This will let you interact with lists using jQuery. If you also write a WCF or Web Service wrapper around the data you need access to from your external data source that is accessible from the SharePoint environment, you can use hack together a solution.
To accomplish this you'd need to place a Content Editor Web Part on the page you need custom data access. In there you will write the code to reference the jQuery javascript library and jQuery SharePoint library. The code will have to make the calls to your external data service and make any updates you need.
This is the least reliable method to accomplish what you want since it's entirely page-based and can be broken by simply disabling script or someone editing the CEWP or removing it altogether.
If you don't have access to place a CEWP or any of the other solutions, then you have no options at all.
it relatively easy now to pull all the data using the third party webpart and saving it into a custom list. I would recommend you not only creating custom list but also creating the content types for this list. take a look at SharPoint MVP's post about creating a Custom List with Content Types
I'm using the built-in Domain Catalog database to list all the databases on a particular Domino server. I'm creating a custom view to show certain information about each database. What I'd like to have is a column that displays the creator of each database. However, if the Domain Catalog is keeping track of this information, I can't find it.
Is there a field in the Domain Catalog that provides this information that I just haven't been able to find? Is there some other way I might find this information and get it into this view? #DBlookup and related functions don't work in column formulas.
That information is not stored in the catalog, and is probably not stored in the database either (It's not shown on any of the property tabs).
You would probably need to get/write a server add-in to monitor database creation and store that data somewhere. Then you'd need to account for databases created by adminp/replication - your add-in might pick them up as having been created by a server.
This question was also asked in the R4/R5 forums in 1998 and received no answer.
Interesting question. There is no such attribute for database, but you can dig for some clues.
New databases: use NotesNoteCollection and look for some specific design element (icon, for example) and look for first element in $UpdatedBy field.
New copies/from templates: above mentioned method won't work. It will return info from original/template, not current database. In this case, try using Created property of DB and check user footprints after that date - in ACL log (he probably altered ACL immediately after copy), new design elements (probably made new view, folder, agent...) or profile documents.
What Frantisek said. Looking in the log archive (ugh!) may tell you who deployed it, but in a well run environment that won't be who developed it. A list of $UpdatedBy(0) for all design notes should give you a good idea. The catch will be that it mayl be people who left the company years ago. : )