I create new form with info path for sharepoint 2013 list, I need to get current week from system calendar. I have javascript to do that!! but I have no idea that where is code must be add? I open list by sharepoint designer 2013. these code must be add to NewForm or Views??  Thanks for your advice
how to place JS-code to NewForm.aspx of a list in SharePoint 2013 APP.  In sharepoint 2010 we can use this list definition to add JS:  &lt;List ...&gt;   &lt;MetaData&gt;     ...     &lt;Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" UseDefaultListFormWebPart="False"&gt;         &lt;WebParts&gt;           &lt;AllUsersWebPart WebPartZoneID="Main" WebPartOrder="1"&gt;             &lt;![CDATA[              &lt;WebPart xmlns="http://schemas.microsoft.com/WebPart/v2"                 xmlns:sfwp="http://schemas.microsoft.com/WebPart/v2/SimpleForm"&gt;               &lt;Assembly&gt;Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&lt;/Assembly&gt;                                        &lt;TypeName&gt;Microsoft.SharePoint.WebPartPages.SimpleFormWebPart&lt;/TypeName&gt;               &lt;FrameType&gt;None&lt;/FrameType&gt;               &lt;Title&gt;JS1&lt;/Title&gt;               &lt;sfwp:Content&gt;ANY HTML YOU NEED HERE               &lt;/sfwp:Content&gt;             &lt;/WebPart&gt;             ]]&gt;           &lt;/AllUsersWebPart&gt;           &lt;AllUsersWebPart WebPartZoneID="Main" WebPartOrder="2"&gt;             &lt;![CDATA[             &lt;WebPart xmlns="http://schemas.microsoft.com/WebPart/v2"&gt;               &lt;Assembly&gt;Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&lt;/Assembly&gt;                                        &lt;TypeName&gt;Microsoft.SharePoint.WebPartPages.ListFormWebPart&lt;/TypeName&gt;               &lt;PageType&gt;PAGE_NEWFORM&lt;/PageType&gt;             &lt;/WebPart&gt;             ]]&gt;           &lt;/AllUsersWebPart&gt;         &lt;/WebParts&gt;       &lt;/Form&gt;     &lt;/Forms&gt;   &lt;/MetaData&gt; &lt;/List&gt;   How to do the same for Sharepoint 2013?
Request root privilege from within a script Because the default 'Profile Graph' tool was not sufficient, I wrote a custom VBA script that creates scaled and exaggerated profile cross-sections in ArcGIS but I need more features:   Visualize more than 1 surface Visualize vertical and directional boreholes Ability to symbolize / edit the output Linked with underlying data - changes in terrain (or profile 3D line) reflected in output   A few years ago I tested an extension by A-Prime software called 'CrossView For ArcGIS' but I am not sure if it is compatible with ArcGIS 10 (Contacted A-Prime but they have not yet responded)   Area there any alternatives? Other 3rd party software? A functioning script? that can do this? find out which program pops up a command line window I have windows 10 home and from time to time I see a command line window popping up for less than a second. I want to find out which process is causing that. It's not very often that this window pops up so I need some tool that can run for a long time.  Does anyone have a good idea?  Regards Tobias Custom first page with fancyhdr I'm using the package fancyhdr to format my footers and headers, with my name in the header and a n of m pages format for the footer. Like so:  \pagestyle{fancy} \fancyhf{} % clear all header and footer fields \fancyhead[C]{Name} \fancyfoot[C]{\footnotesize Page \thepage\ of \pageref{LastPage}}   By default, the fancy page style only affects the pages after the first page. I know I can set the first page to the fancy page style using \thispagestyle, but I only want the first page to use the footer, not the header. Is there a way to create a custom style that just the first page will use? Database synchronization between dev/staging and production I have a problem with WordPress database synchronization between development and production and I am wondering how other people solving it. I am aware about  but it doesn't really cover the nastier and more realistic use case.  Say I have a live WordPress website. I took a dump of everything, replicating it on our dev environment. I started making changes. 1 week later I am ready to deploy my updates. In the meantime, database on production site has changed(new posts, new comments, etc.). How do I synchronize changes between production and development during the rollout and is it possible to automate(somewhat at least) this process? Make HttpURLConnection load web pages with images Are the Yongnuo clones of Canon flash equipment and lenses legal to sell/buy? Solve a congruence $1978^{20}\equiv x\pmod{125}$ Why my differential equations become True? Apply a string replacement on the citation as returned by \cite I'm looking for an understandable proof of this theorem, and also a complex one involving beautiful math techniques such as analytic number theory, or something else. I hope you can help me on that. Thank you very much Confusion on Derived Sets and the $n$-the Derived Set I want to solve the following exercise 1.3.C. from page 27 of R. Engelking: General Topology.  For every positive integer $n$ the $n$-th derived set $A^{(n)}$ of a subset $A$ of a topological space $X$ is defined inductively by the formulas: $$  A^{(1)} = A^d \quad \textrm{and} \quad A^{(n)} = (A^{(n-1)})^d. $$ (a) Give an example of a set of real numbers that has three consecutive derived sets distinct from each other.  (b) Give an example of a set of real numbers that has infinitely many derived sets distinct from each other.   The definition is $$   A^d := \{ x \in X \mid x \in \overline{A \setminus \{ x \}} \}. $$ I am confused, cause the set $A^d$ ist closed, i.e. $\overline{A^d} = A^d$. And closed means it already contains all its limit points, so how can than $(A^d)^d$ be different from $A^d$? How did the AT-ATs get to the surface of Hoth? I'm curious how these beasts got down to the surface of Hoth.    Did the Galactic Empire land them in big ships, if so which ones? How do I distinguish between a command, utility, or builtin for getting documentation? I'm running Bash scripting, but sometimes I get confused which of these commands I use belong to who. Sometimes man xxx works, sometimes doesn't, so I use --help or info, mostly one of these works to show description of the command. Can anyone tell me how I would know what command belongs to what? Bash builtin, GNU utility, etc. How to delete directories with path/names too long for normal delete Windows seems to have a length limit on file names when trying to delete, though it won't prevent those files from being created.  Our build process creates a number of temporary files (many build off of a WSDL) that run afoul of this limit.  Our ant script is somehow able to delete them when doing a clean, but sometimes I need to delete the workarea directory (where all the temp files go) without actually doing a full clean from ant.  This is the same errors , but the answers there don't really work for me as I'm dealing with a directory, not a file, and I don't always know what specific files or subdirectories are causing the problem.  And I'm trying to avoid any manual process (other than triggering a single command) to actually delete them.  If I try deleting the directory from Explorer I get the error   Cannot delete [file name]: The file name you specified is not valid or too long.   Specify a different file name   Trying Remove-Item in powershell gives the following error:  Remove-Item : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. At line:1 char:12 + Remove-Item  &lt;&lt;&lt;&lt; -force -Recurse &lt;directory&gt;   Does anyone know of any tools or easy ways to get around this delete error without having to manually find the problem files and move/rename them? add transistor model to LTspice I'm trying to add the mmbt3904lt1g model to LTspice. - I've copied its data from the MMBT3904LT1.LIB.txt in the standard.bjt library. - I've added an NPN to my schematic then I've changed its value to mmbt3904lt1g  - through the Edit->spice directive I've pasted the path to this library I thought it was all to use this device but no simulation is achieved.. I get only: Can't find definition of model "MMBT3904LT1g"  where I'm doing wrong ? Uninstall Kali Linux from triple boot Why is it that scanf() needs the l in "%lf" when reading a double, when printf() can use "%f" regardless of whether its argument is a double or a float?  Example code:  double d; scanf("%lf", &amp;d); printf("%f", d); Problem writing aux file What does size of a directory mean in output of 'ls -l' command? What does size of a directory mean in output of ls -l command?