How to generate custom guid in sharepoint designer?
can generate guid in javascript using following code
function generateUUID() {
var d = new Date().getTime();
var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
var r = (d + Math.random() * 16) % 16 | 0;
d = Math.floor(d / 16);
return (c == 'x' ? r : (r & 0x7 | 0x8)).toString(16);
return uuid;
Is there any way to do the same thing in sharepoint designer 2013 ?
Hi,
I am afraid there is no OOTB feature to do the same thing in SharePoint designer 2013. But as far as I know, SharePoint can auto-generate guid for list,item and so on.
For another way, you can generate new GUID using PowerShell:
http://sharepointtaproom.com/2013/06/18/quick-tip-generate-new-guids-in-any-format-you-want-using-powershell/
Best Regards,
Eric
Eric Tao
TechNet Community Support
Similar Messages
-
How to set Mandatory Choice field while Creating Custom Task using Sharepoint Designer 2007
Hi,
I am new to Sharepoint development.I dont know whether i am posting the question in Correct place.Kindly redirect me to the correct place if i am posting it in wrong place.
I created a custom task in Sharepoint Designer 2007 using
Collect Data from User
Action.
I created a field in the task form which is of choice type and
unchecked allow blank values
because i wanted that field to be a mandatory field.When i handled that task ,i was able to complete that task
without selecting that mandatory field.But, I was expecting not to allow me to complete the task without selecting that field. Kindly tell me how to set the choice field as mandatory.Hi,
You are using SharePoint Designer 2007, so I moved the thread to the appropriate forum for MOSS 2007.
This is by design that
Workflow-generated form (for action Collect data from User) does not perform validation properly on drop-down choices, the workaround is to use JavaScript to perform the field validation.
This thread has the JavaScript code can help you:
http://social.msdn.microsoft.com/forums/en-US/sharepointworkflow/thread/0ad7fc3c-97a1-464e-ae89-c3133462dda8/
Xue-Mei Chang -
Customize Approval Form to add custom fields using SharePoint Designer
Hi,
i have a created a Custom approval workflow using SharePoint Designer 2010. This is two steps approval WF, All i did put the variable "CancelonRejection" Value "Yes" and one Approval action with 2 different users as Serial. Right now
Status, Requested by, Consolidated comments and comment fields are available on the approval form. Now i want to add some fields with radio buttons on Approval Form, so that 1st approver can select those radio/check box. Once 1st approver will approved this
then display all the values on 2nd approver approval from or send email to 2nd approver along with all the information from 1st approver.
Thanks in advanced!Hi,
According to your post, my understanding is that you wanted to customize Approval Form to add custom fields using SharePoint Designer.
In the SharePoint Designer, you can customize the task form.
Here is a great article for your reference:
Creating Custom Workflow Task Approval Forms with SharePoint Designer 2010
However, every task can only have one task form.
That is to say, the two approvors will have the same task form.
As a workaround, I recommend to customzie the task form using InfoPath.
You can create different view for the approvors.
You need to add form load rules to swich views based on the approvors.
More information:
Using Multiple Views in Customized List Forms
Add, delete, and switch views (pages) in a form - InfoPath
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Add two attachment field in custom list through sharepoint designer 2013
Hi all,
I want to add two attachment columns to the SharePoint 2013 custom list through SharePoint Designer 2013 (not using ribbon attachment option) only . I managed to attach single attachment column to the attachment field. But I am not able to create second
field for attachment.
for example, one column for attaching address proof and second column for identity proof.
Any help would be appreciated.Out of the box this simply isn't going to be possible the way you seem to want it. The attachment field does allow for multiple attachment, but I can see why you'd potentially want these separated out.
Alternative:
You could instead create a link field for each. Users load the documents into a document library and then copy the URL to paste into the form. If you potentially need multiple attachments for each, you can use an InfoPath form and a repeating table.
Andy Wessendorf SharePoint Developer II | Rackspace [email protected] -
How to enable editing sites with SharePoint Designer
HI,
when i try edit my web part in SharePoint designer I receive a error:
“Web Site Editing is Disabled. This web site has been configured to disallow editing with SharePoint Designer. Contact your web site administrator for more information.”
I never disable this. When I search for this error, it’s the same thing, how disable editing SharePoint designer… but I want ENABLE.
I try search the line “DisableWebDesignFeatures=wdfopensite” in my Onet.xml files but no exists.
I need edit a file, how? Please explain me, it’s for my work.
thanks
HernandezzSharePoint allows you to create custom web parts to help you provide highly customized solutions to your clients/users. The properties of these web parts are added by default but to
further customize the solution, you can also create custom properties. The following example demonstrates how to add a custom dropdown property to a custom webpart.
// Create a Enum for Languages
public enum LanguageByEnum
English = 0,
French,
Spanish
Sharepoint migration 2010
Cheers, Eliza -
How to enable "All Files" in SharePoint Designer 2010
Hi everyone,
How can I enable "All Files" in my sharepoint designer.In home laptop I see it,but in production environment where I work,opening SharePoint Designer I can not see "All Files" button.I am with admin account and everithing is ticked in the central administration
Designer options.
Thanks in advance.Hi ,
I noticed that you said you can see the ‘All files’ folder in home laptop ,but it is missing when open in the production environment .Did this happen to
all the sites or the site in the specific web application ?Have you extend the web application into an Internet zone?
Actually you should change the SharePoint designer settings in both Central Administration and Site collection settings .Perform an IIS reset after change
the settings and reopen the site in SharePoint designer.
For more information about SharePoint designer settings ,please refer to this site :
Locking Down SharePoint Designer 2010 :
http://blogs.msdn.com/b/mcsnoiwb/archive/2010/07/01/locking-down-sharepoint-designer-2010.aspx
Thanks,
Entan Ming -
How to implement schedule workflow using SharePoint Designer?
Hi All,
Please let me know , How to implement the schedule workflow using Share Point Designer.
Thank You.
Regards,
~Sri+1 to this. The closest that you'll get with list / level features is using Information Rights. You can trigger workflows based on time/date columns, which may serve your needs.
Failing that, you will indeed need a custom timer job.
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
How to generate PDF report in Sharepoint Office 365
Hi,
We are building a custom webpart using sandbox solution and would like to generate report in PDF. Anyone have a clue?
Thanks in advance ;
Cheers, IXI solutionYou can use SSRS reports which can be saved in any format. Refer to the following post for more information
http://sharepoint.stackexchange.com/questions/86100/best-way-to-generate-pdf-report
http://social.technet.microsoft.com/Forums/sharepoint/en-US/7a1b7d4d-c55d-4621-88d2-619a1ab23448/export-sharepoint-chartsreports-to-pdf?forum=sharepointadminprevious
Alternatively, you could also try this solution from CodePlex
http://pdfreport.codeplex.com/
--Cheers -
How to activate Custom Feature in SharePoint 2010 using Client Object model
I am trying to Activate a custom feature using Client Object Model in SharePoint 2010. Here is the code I used. When I execute the code, I got the error "Feature with Id 'xx' is not installed in this farm, and cannot be added to this scope while
creating site collection". Can anyone help?
ClientContext clientContext = new ClientContext(spURL);
//GUID of the custom feature
Guid districtFeatureId = new Guid("5b3529de-5045-46da-af87-8d2e32c121a7");
Site clientSite = clientContext.Site;
FeatureCollection clientSiteFeatures = clientSite.Features;
clientContext.Load(clientSiteFeatures);
clientContext.ExecuteQuery();
//Activate the feature
clientSiteFeatures.Add(districtFeatureId, false, FeatureDefinitionScope.Site);
clientContext.ExecuteQuery();Hi shil chan,
When you activate a feature on the site collection, the feature should be scoped to site or farm, the error message shows it cannot find the specific feature, this will happen when you have a feature in web
scope or the feature isn’t installed.
So, to troubleshooting this issue:
Verify whether the feature is scoped to web. Please go to
Site Setting->Site Features . If the feature is a web scope feature, then add the feature to webfeatures.
Make sure the feature is installed correctly.
Please inform me freely if you have any questions.
Thanks -
How to generate customer invoices automatically?
We are doing direct debit for some of our clients based on the billing plan.
I know that it is possible to create customer invoices automatically based on the billing plan, but do not know the details how to trigger the process.
Imagine I have created the billing plan for the billing WBS-element. What should be done next to post the customer invoice automatically?
Many thanks for your help!Hi Mrinal,
I do not know much about SD process, in fact I am mostly interested in FI invoices to be generated and posted while having the most dummy SD flow possible.
What exactly does VF04, what are prerequisites to run it, and what are the follow up steps? My starting point is the billing plan maintained for the WBS-element, while the target is FI customer invoices posted, so what are the missing steps in between?
Many thanks. -
How to generate oracle sequence using Database Designer Transformer
I created Entity Relationship Diagram.I can generate Table relavant to that every entity.(using Database Design Transformer).Normaly the Database Design Transformer tries to find a suitable unique key that can be used as the primary key. If it cannot find one, it creates a surrogate primary key.it create sequence for that surrogate key.But I didn't want that.I want generate sequence only the attribute that have primary key.how can i do
So a digital pulse??
-
How to generate custom report with PDF output?(Payables)
Hi All,
we are using some custom reports in payables modual production server the reports are working fine .
my question is i need creat same reports in test server i have done following activities.
1. copied rdf file from prod server and pasted into test server
2.given excutable name in system administrator modual(concurrent-progrem-excutable)
3.define report in system administrator modual(cocurrent-program-define) output selected PDF and given parameters.
4. switch to payables moduale run the report ,following error showing in log file plese help how to resolve it we don,t have any custom reports in test server this is first time to creat the report.
APPLLCSP Environment Variable set to :
XML_REPORTS_XENVIRONMENT is :
/APPS/dkvuatora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
XENVIRONMENT is set to: /APPS/dkvuatora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.UTF8
Spawned Process 2707514
X connection to oraclefinof1:0.0 broken (explicit kill or server shutdown).
Report Builder: Release 6.0.8.25.0 - Production on Wed Nov 18 16:06:17 2009
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter Username:
Start of log messages from FND_FILE
End of log messages from FND_FILE
Program exited with status 1
Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 339487.
Review your concurrent request log and/or report output file for more detailed information.
Executing request completion options...
Finished executing request completion options.
Concurrent request completed
Current system time is 19-NOV-2009 16:24:52
---------------------------------------------------------------------------Hello.
Have a look to Metalink Doc ID 252715.1
You have to login to server and issue the 'xhost +' command.
Hope this helps.
Octavio -
How to Create Custom List in SharePoint 2010 Programmatically ?
Hi,
i have tried the following way,
http://devendra-sharepoint.blogspot.in/2012/01/creating-list-programatically-in_30.html
But i am not able to create list.
Becuase i am getting the following error.
'Microsoft.SharePoint.SPWeb' does not contain a definition for 'EnsureList' and no extension method 'EnsureList' accepting a first argument of type 'Microsoft.SharePoint.SPWeb' could be found (are you missing a using directive or an assembly reference?)
Please advice.
Thanks,
AasaiHi,
You can use list.Fields.Add() to add column in list. See below blog:
http://www.c-sharpcorner.com/blogs/3764/create-sharepoint-list-programmatically.aspx
Use this to delete list:
http://www.c-sharpcorner.com/UploadFile/54db21/delete-list-in-sharepoint-2010-programmatically-using-vs-201/
See this for remove user/group from list:
http://www.c-sharpcorner.com/UploadFile/54db21/remove-group-permission-to-list-in-sharepoint-2010-programma/
Hope it could help
Hemendra: "Yesterday is just a memory,Tomorrow we may never see"
Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
you see a reply being an answer to the question of the thread, click "Mark As Answer -
How to generate multi-lingual applications with Designer?
In Designer 10g we have the definitions of hundreds of tables and views and
forms/reports modules. Currently all texts (prompts, hints, comments, help texts, etc) are in Dutch. Because of new customers in Germany, we now have to translate everything into German (and in the future also to French and English etc).
We know that we can use Translation Hub to translate forms and reports,
however, many tables/columns are used by more modules (sometimes 10 or more). So, the translation of each module with the Hub is very inefficient.
We are wondering if there are easier ways. For example, when we translate a
prompt of a tablecolumn, Designer (Headstart) can update all related module items. So, with one translation, we in fact translate many modules at once.
We could perhaps make a copy of the application, but that will work very
inefficiently because each modification has to be done on multiple
applications.
Has anyone a genius solution for this?
Thanks for your help, Jan WillemI hate to be the one to break it to you, but there isn't a genius solution out there for you. And it isn't a Designer problem, it's an application architecture problem.
You'll notice that Headstart (since you've looked at that) does two things for you. One is that it has utilities to go update many items for you. Two is that it uses standard error and LOV tables which are multi-lingual based. You enter your messages and lookups in many languages (many rows per code, one per language) and the Headstart library logic displays the right row based on the code and the NLS setting. architecture.
In your case, where you have hard-coded everything, if you don't want to re-architect things, then your only solution is to clone things. Probably best off (based on other client experience) to just keep the single model in your base language, develop and gen as you have been, and then work your way through all the source code (database and application components) to do all the translation (as noted the Translation Hub can help some), and then implement each result. At least that way you know all the functional logic works. So you're not introducing any bugs (except for when the translated info is longer then the base info -- as we have here in Canada where French takes up more space then English). sorry. ugly. -
Currently am working on performance monitors and counters , like if the performance counters gets a value (say 10) i need to raise an alerts saying this value has reached
Hi,
Here are two article that should be helpful for you, please go through them for more details:
System Center Operations Manager (SCOM) Best Practices Poster Rule and Monitor Targeting
http://blogs.technet.com/b/danstolts/archive/2011/06/07/how-to-create-windows-server-2008-r2-guest-on-hyper-v-with-differencing-disk-and-sysprep-image.aspx
Best Practices for Monitoring IIS Web Server
http://myitforum.com/myitforumwp/2014/01/21/best-practices-for-monitoring-iis-web-server/
Regards,
Yan Li
Regards, Yan Li
Maybe you are looking for
-
How to use the drop event of the tree control in LabVIEW 8.20?
Hi, I am using the two tree controls in my application to provide a option for the user to drag and drop item from one tree to the other. I have to validate the user selection. I tried to capture the user drop event using the event stru
-
I have a Droid X with a sandisk 16gb micro sdhc class 4 installed. This card has been in use for about a year and wasnt even half full. I was playing music on thanksgiving and all of a sudden the music stopped. I thought hmm, It must be doing
-
Digital signature Filter / SubFilter
Hi, i have a question regarding the use of digital signatures. As a filter value i am usingAdobe.PPKLite but i am not quite sure about the SubFilter. As i understand there are three possible values: - adbe.pkcs7.detached - adbe.pkcs7.sha1 - adbe.x509
-
The Draft Word is behind the text in Purchase Order
Hi All expert, Do you all have any idea about the watermark draft in SAP Business One 2007 Purchase Order. The Purchases Order with draft will display in the center of Purchases Order if the document is in draft. However, i found that the work 'draft
-
sir with due respect i have tried to download emails from sify server everytime i tried i get message authentication failed and some other message pls help as sify is closing down its mail services and i have few important mails that i want as it is