Autogeneration of number while uploading documents
Hi Experts,
Is it possible to generate an automatic number for a document property while uploading documents?
for ex: When the user uploads the document, a property of that document should have a number generated automatically.
that number will be used later internally for references.
Do we have any standard functionality for the same? or do i need to custom develop this?
Thanks,
Senthilkumar
Hi,
I dont think there is any standard functionality available. This is possible through custom development. If you are aware of PAR file creation and KM development you can create a service or if you want to go in bit simple development method then you can use webdynpro java.
If you want to develop using Webdynpro java, you can use following method.
1. For folder create a two property in KM configuration say for example serial, noOfDocument.
Here serial will be a for folder a, b for folder b etc. and initialise noOfDocument with 0.
And create serialNo property for file.
2. Now create webdynpro application to upload file in specific folder or on selection of user.
3. Suppose user select folder a to upload, then fetch serial property of folder and the noOfDocument.
4. Now increase noOfDocument value by 1 and append serial to it. Also update noOfDocument value to that specific folder. Thus whenever a new upload happens this new value will be fetched and updated by 1.
Regards,
Jigar Oza
Similar Messages
-
Error while uploading document in Primavera portfolio management
Dear All,
I am getting error while uploading document with particular user in PPM
Error occur when I upload document and click on save button.
Error from log :
<Exception>
System.InvalidCastException: Specified cast is not valid.
at ProSight.Portfolios.Infrastructure.Database.IpsDataRow.getInt(DataColumn iColumn)
at ProSight.Portfolios.BusinessLogic.Infrastructure.Objects.psLinkObj.addNew(Int32 iUserID, Int32 iPortfolioID, Boolean isPortfolioLink, IpsDataTable iLinkRec)
at ProSight.Portfolios.BusinessLogic.TS.TransactionalScenario.psTSTabset.update(Int32 iUserID, Int32 iFormsetID, Int32 iPortfolioID, Boolean iIsImmediate, psResultContainer iParam)
</Exception>
</Trace>
<Trace Type="Error" Time="1/31/2015 1:44:36.758" class="psTransactionalScenarioInterface" Method="handleException" Process="w3wp.exe (4236)" Client="">
Error in psTSFormset.update
<Exception>
System.InvalidCastException: Specified cast is not valid.
at ProSight.Portfolios.BusinessLogic.TS.TransactionalScenarioInterface.psTransactionalScenarioInterface.invokeTS(String className, String methodName, Object[] parameters, Int32 maxRetries, Int32 minRetryWait, psResultContainer containerToClean, Boolean iDisableTransaction)
</Exception>
</Trace>
<Trace Type="Error" Time="1/31/2015 1:44:36.758" class="Transaction" Method="handleException" Process="w3wp.exe (4236)" Client="">
Unhandled Error GUID: a3640801-43cb-48d4-89b4-cede50780e47 \"File name: /Prosight/forms/saveForm.aspx\\nStack trace: at ProSight.Portfolios.BusinessLogic.TS.TransactionalScenarioInterface.psTransactionalScenarioInterface.handleException(Exception iEx, String iAddionalMsg)\\r\\n at ProSight.Portfolios.BusinessLogic.TS.TransactionalScenarioInterface.psTransactionalScenarioInterface.invokeTS(String className, String methodName, Object[] parameters, Int32 maxRetries, Int32 minRetryWait, psResultContainer containerToClean, Boolean iDisableTransaction)\\r\\n at ProSight.Portfolios.BusinessLogic.TS.TransactionalScenarioInterface.psTransactionalScenarioInterface.invokeTS(String className, String methodName, Object[] parameters, Int32 maxRetries, Int32 minRetryWait, psResultContainer containerToClean)\\r\\n at ProSight.Portfolios.BusinessLogic.TS.TransactionalScenarioInterface.psTSITabset.update(Int32 iUserID, Int32 iDashboardID, Int32 iPortfolioID, Boolean iIsImmediate, psResultContainer iParam)\\r\\n at ProSight.Portfolios.Server.Presentation.Logic.Forms.psPLForms.update(psResultContainer iResultContainer)\\r\\n at invoker137.Invoke(Object , Object[] )\\r\\n at Microsoft.JScript.JSMethodInfo.Invoke(Object obj, BindingFlags options, Binder binder, Object[] parameters, CultureInfo culture)\\r\\n at Microsoft.JScript.LateBinding.CallOneOfTheMembers(MemberInfo[] members, Object[] arguments, Boolean construct, Object thisob, Binder binder, CultureInfo culture, String[] namedParameters, VsaEngine engine, Boolean& memberCalled)\\r\\n at Microsoft.JScript.LateBinding.Call(Binder binder, Object[] arguments, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters, Boolean construct, Boolean brackets, VsaEngine engine)\\r\\n at Microsoft.JScript.LateBinding.Call(Object[] arguments, Boolean construct, Boolean brackets, VsaEngine engine)\\r\\n at ASP.forms_saveform_aspx.main()\\nError code: -1\\nError Reason: Specified cast is not valid.\\n\\n\", \"/ProSight\"
</Trace>
<Trace Type="Error" Time="1/31/2015 1:44:47.584" class="psException" Method="printException" Process="w3wp.exe (4236)" Client="">
Could not update form data
USERID: 422
DEADLOCK DETECTED: False
Kindly help.Hi,
chk ur authorizaion errors... su53 dump.
Thx,
waseem -
Error while uploading document to service desk ticket
Hi all,
I get error while uploading document to ticket
Message No: SKWF_SDOKERRS119 .
If iam correct I have given all the required authorisation mentioned in security guide.
what could be the reason for this kind of behaviour
Best Regards,
Alokhi
what is your solman version? chk the sap note
[ Note 1401196 - Work Centers: attachment not saved in Incident Management|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1401196]
might be this helps,
[Message No: SKWF_SDOKERRS119|Message No: SKWF_SDOKERRS119]
jansi -
SharePoint 2013: Hide/Show Column fields while uploading document in Document Library
Dear all,
I have created a document Library LIB001 and I have created One Column of type Choice, drop down list, (CCHOICE) and I have created 3 other columns, (Column1, Column2, Column3).
What I want is while uploading a file in the document library, when I choose a certain value from CCHOICE, i want to show/hide and/or make the column mandatory.
Can anyone help/guide me how to achieve this?
Many Thanks
VinayDear all, I am trying the following code, but it's not entering the onchange of drop down list event. <script> $(document).ready(function () { var countryField = SPUtility.GetSPField('Document Type'); var countryFieldValue = countryField.GetValue(); alert
(countryFieldValue); // ----- Hide/Show the field based on new selected value. var id = SPUtility.GetSPField('Document Type').Dropdown.id; alert ('field ID: '+id); $('#' + id).on('change', function () { alert ('Inside on Change:'+countryFieldValue); if (countryFieldValue
== 'Type1') { SPUtility.GetSPField('Column1').Hide(); } else if (countryFieldValue == 'Type2') { SPUtility.GetSPField('Column2').Hide(); } }); }); </script> Can anyone help me please. Many Thanks & Regards Vinay -
Error while uploading documents
Hi,
When we trying to upload documents thru CV01N transaction w.r.t document type,we are getting the error message as
"Please enter the data in Object link tab" Message No : ZHR252.
When we checked the configuration in DC10, No any objects have been linked to this particular Document Type.
My question is, eventhough no any objects have been configured to document type, why the error message is getting appeared while saving the DIR.
Would like to know is there any User Exit which is getting triggered in the backend?
Regards
BhanuHi,
When we trying to upload documents thru CV01N transaction w.r.t document type,we are getting the error message as
"Please enter the data in Object link tab" Message No : ZHR252.
From the error message its very clear that some custom code has been written to control upload operations in CV01n.
Message no starts with "Z".
You can have a look into the following BADI's to check for the custom code.
DOCUMENT_OBJ1 User Exit Document Link Object Page
DOCUMENT_OBJ Interface Connection From Object Links Document Page
DOCUMENT_OBJ2 BADI for object links update
Additionally check the following customer exists relevant for CV01N.
CV000001
CV110001
CVDS0001
Hope this answers your query.
Regards,
Deepak Kori -
How to remove or hide Name column while upload document in document library
Hi All,
In below print screen the first column Name* which always show when I'm going to upload the file which I don't want. It will be really help full if you provide some solution how to hide this column while uploading the document. Its really confusing the users
when they are going to upload the document in document library.
I already tested below steps. After clicking Document Content Type every column is clickable except "Name" column.
Go to Document Library settings -> Advance settings -> Allow management of content types -> check the box
Now go back to Document Library settings -> Under content types -> click Document content type -> select the column -> Hide this column
Every column is clickable except "Name" column so unable to resolve this issue. Please help.Hi,
Thanks for posting your issue, Kindly browse the below URL to fix this issue
https://social.msdn.microsoft.com/Forums/sharepoint/en-US/c7d0e0d5-084b-4d49-88fe-b411a70042bd/how-to-hide-the-name-column-in-the-document-library?forum=sharepointdevelopmentlegacy
http://spstipsutilitypack.codeplex.com/
I hope this is helpful to you, mark it as Helpful.
If this works, Please mark it as Answered.
Regards,
Dharmendra Singh (MCPD-EA | MCTS)
Blog : http://sharepoint-community.net/profile/DharmendraSingh -
Virus Found error message while uploading document in Document Library
Hi,
When uploading documents into the document library, I got a message "Virus Found" ERROR message.
the installed virus scanner is urrently unavailable.If the problem persists, please contact your administrator.
How to resolve this issue? its in staging environment. in our test environment we never received this error message while uploading the message.
help is appreciated.hi
have you installed an antivirus app on server?
Check this link
https://support.microsoft.com/en-us/kb/2953311/
Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you. -
Error while uploading document with same name in Document library
Hi,
Whenever I try to upload document with same name in Document library it throws an error. I know its a default behavior but is there any way so that I can upload documents with same name or can we append some unique id with title of the document?
Please suggest.
ThanksNo, unfortunately this is not possible. SharePoint treats the file name as the primary key identifier for a document so if you try to upload a second document with the same name it will assume this is a new version of the file. If you have versioning enabled
on the document library, it will add this as a new version. If not, it will overwrite the original file with the new one.
If you need two documents with the same name, you will have to either place them in different folders within a document library or in different document libraries.
http://stackoverflow.com/questions/11894968/uploading-documents-with-same-name-to-sharepoint-2010
Regards,
Rajendra Singh
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful
http://sharepointundefind.wordpress.com/ -
Error --while uploading document in solar01 Project documentation
Dears,
We have created a imp project in solman and I have full authorization of solar01,solar02,solar_project_admin.Now when I go to project documentation->Add document and click on upload documement, It gives error:
"No authorization to upload document."
Please suggest.
ShivamHi,
chk ur authorizaion errors... su53 dump.
Thx,
waseem -
Transport Request while Uploading Documents
Hi
We have small problem when some of our users are trying to upload documents in Solution Manager. The system prompts for the Transport Request whenever they are trying. They have uploaded earlier and did not prompt for any. I checked the scc4 settings and make sure that I h ave selected the correct setting. Is there any way we can disable this option.
Regards,
Mahesh ShettyHello
"They have uploaded earlier and did not prompt for any"
Are you sure SCC4 settings were not adjusted at that time or for a certain period, it's hard to believe it would suddenly change out of the blue.
Kind regards
Tom -
Access Denied Error while uploading document in UCM server
Hello,
I am using Oracle Jdeveloper 11.1.1.6 and my application is build on ADF faces stack.
I am using Oracle UCM for storing and retrieving documents and that content id is stored in my database, which i use to interact with UCM.
My UCM server is on an ip which starts with 10.184.*.*, when i tried uploading/downloading a file from a client machine which has the ip starting with 10.184.*.*, then it is fine, but when i use a different client machine which has the ip starting with 10.180.*.* or anything else apart from 10.184, then am getting an error like "Permission denied. Address '10.180.218.230' is not an allowable remote socket address"
Any help on this highly appreciable.
Regards,
Vinothgan ASHi Vinothgan,
You need to add the new IPs to the IP Address Filter via Enterprise Manager. Here are the steps.
1. Login to EM
2. Navigate to Webcenter->Content->Content Server
3. Select the Content Server instance
4. Choose 'Configuration' option form the Content Server menu
5. Add the new IPs to the IP Address Filter
6. Restart the webcenter content manager server
Alternately
1. Browse the Webcenter Content installation folders
Ex: OracleWC\Middleware\user_projects\domains\ecm_domain\ucm\cs\config
2. Edit the config.cfg file
3. Append the new IP to the configuration variable SocketHostAddressSecurityFilter (Ensure it is pipe seperated '|')
4. Restart webcenter content server
HTH
Regards,
- Anand -
Error while uploading document using Link Service
Hi
I have created a webcenter portal application ( in jedeloper 11.1.1.4) with Link service integrated.(Database and UCM connections are intact)
But when i click on link to new->document and click on Upload it gives a popup error saying connection to the server has failed, even though the connection exists.
I find that the document is checked in to the UCM even after the error was thrown, and once i re-run the application it shows up the link in the dialog.
Am i missing any configurations to be done?
Thankshi
what is your solman version? chk the sap note
[ Note 1401196 - Work Centers: attachment not saved in Incident Management|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1401196]
might be this helps,
[Message No: SKWF_SDOKERRS119|Message No: SKWF_SDOKERRS119]
jansi -
Problem While Uploading Document in Upload Iview
Hi,
Whenever am try to upload a document Url iview (Content Magmt --> explorer > Documents>folder->new-->upload)showing the following error "
"upload.xls" does not exist, or file is empty; you cannot upload empty files".
Whatever file i upload from my desktop it showing that the file does not exist or Empty..
What could be the Problem ?
How to resolve it ?
Regards,
Ramganesan K.Hi Ramganesan,
please check this SAP note: https://service.sap.com/sap/support/notes/898637
Hope it helps
Detlev -
Problem in uploading document in KM content in portal
Hello All,
I am functional consultant and new to portal.Please help me in resolving below issue .
I am facing a problem while uploading document in KM content in portal
When i browse the file from Desktop and click on upload .file does not get uploaded and also it does not throw any error or info message .
Please help.
Thanks
ArchanaDear Archana,
Please refer the SAP Note 898637. Hope it is helpful.
Regards,
Samir -
Error 'Specify account number' while posting a parked document through FBV0
Hi,
I am getting an error 'Specify account number' while posting a parked document through transaction FBV0.
I am not able to figure it out as to what account number it is referring to. Since the document is parked I assume the GL account used has no problem. Please help.Hi,
Try to change the Account number and then save or post the data. I think Once We Parking the Document it wont allow to post the data without changing.
Try same scenario in the development its be useful
Regards,
Maybe you are looking for
-
I downloaded an app for my iPhone. It does not show up on any of the "screens" on my iPhone. Yet if I go back to the App entry in itunes the "install" or the "Open" is grayed out. I have tried "Reset" fro the start, on the iPhone. Doesn't help. I als
-
Hi. My ipod touch (3rd gen) will not turn off or resond to anything and will not connect to a computer. the screen will not go into sleep mode and i dont know what to do. help?
-
I just purchased and received a new X200. Today I was playing (on Itunes) the trailer for Indiana Jones and I noticed a lines across my screen and the video wouldn't hardly play mostly just sound worked. I quit and retryed it and it did the same thin
-
How do I sync iPhone contacts to mac WITHOUT using the iCloud??
I don't trust the Cloud. Is there any other way?
-
Computer stuck on "Installing Microsoft Intune Client Software"
Hi, One of our computers installed Microsoft Intune again after his harddrive crashed. We remote wiped the specific device from the admin panel. The client installed but never really succesfully finished the installation. We tried to uninstall the ag