i want to display all standard and custom objects in my organisation using visualforce dynamic pick list and i want to assign default value "Contact" at initial loading of page how to achieve these requirement.  Note: i am not using standard field to display my pick list values  I tried below code but it is showing all meta data and also not displaying default value.  Page:  &lt;apex:selectList value="{!selectedObject}" size="1" style="width: 21%;"&gt;         &lt;apex:selectoptions value="{!ObjectNames}"/&gt;     &lt;/apex:selectList&gt;   Controller:  public String selectedObject {get; set;} public List&lt;SelectOption&gt; getObjectNames()  {     List&lt;SelectOption&gt; objNames = new List&lt;SelectOption&gt;();     List&lt;String&gt; entities = new List&lt;String&gt;(schemaMap.keySet());     entities.sort();     for(String name : entities)     {         objNames.add(new SelectOption(name,name));     }     return objNames; }
I have designed a VF page to create a new record in which I am trying to display the value of a pick-list field. I have set a default value for this pick-list field. When trying to create the record using the salesforce native page, the value with which pick-list loads is the one I set as default but when creating the same record using VF page, the pick-list loads with "--None--" as default value.  Can anyone suggest If this is salesforce related bug or Am I doing anything wrong ?
Where does the phrase "Scare the Dickens out of..." originate from? Where does the phrase "Scare the Dickens out of..." originate from? And does it refer to Charles Dickens? Why do we use Root Mean Square (RMS) values when talking about AC voltage What makes it a good idea to use RMS rather than peak values of current and voltage when we talk about or compute with AC signals. Proving the quotient of a principal ideal domain by a prime ideal is again a principal ideal domain Please help me prove that      the quotient of a principal ideal domain by a prime ideal is again a principal ideal domain.   This was from Abstract Algebra How to fix "-5 No address associated with hostname error" while updating? Would a wormhole be able to move? I imagine a point-like particle can only experience the local properties of spacetime. But locally there is no curvature and no gravity, as it is often stated that     Locally, as expressed in the equivalence principle, spacetime is Minkowskian, and the laws of physics exhibit local Lorentz invariance. ()   But if this is the case how does a point-like particle know, which direction it should follow in a gravitational field?   Can this be a seen as a hint that point-like particles cannot be used as underlying concept for a field theory like general relativity? Hyperlinks are not visible in the generated PDF CV How to get all possible combinations of a list’s elements? Why has Earth's core not become solid? I am using setInterval(fname, 10000); to call a function every 10 seconds in JavaScript. Is it possible to stop calling it on some event?   I want the user to be able to stop the repeated refresh of data. How do I download a YouTube video? I have  today and one member was voted as duplicate and private feedback was there, I choose no and submitted the form. When I revisit the question or refresh the page same notice reappears with yes/no options.  In-network tab I got 200 OK status and response as "success":true  Environment: OS: Windows 10 Browser: Chrome 79.0.3945.117 (Official Build) (64-bit)  From the comments, the same issue is happing with   (might be with whole StackExchange network)      From network tab Installing Teamspeak and creating TeamSpeak3 .desktop file I am very new to Ubuntu and I want to create desktop launcher.  I have this in my TeamSpeak3.desktop in   [Desktop Entry] Name=TeamSpeak 3 Comment=TeamSpeak 3 VoIP Communicator Exec=/opt/TeamSpeak3-Client-linux_amd64/ts3client_runscript.sh Terminal=false Type=Application Categories=Network;Application; Icon=/opt/TeamSpeak3-Client-linux_amd64/styles/default/logo-128x128.png   in my ~/.local/share/applications/TeamSpeak3.desktop But I dont see it in my launcher and when I double click on it files, it just opens the text file. I even made it executable with     chmod +x TeamSpeak3.desktop  drwx------ 15 hung hung     4096 srp 16 12:29 . drwxr-xr-x  3 root root     4096 pro  9 19:22 .. -rw-------  1 hung hung   174627 srp 16 12:29 CHANGELOG -rwx------  1 hung hung   227136 srp 16 12:29 error_report drwx------  2 hung hung     4096 srp 16 12:29 gfx drwx------  3 hung hung     4096 srp 16 12:29 html drwx------  2 hung hung     4096 srp 16 12:29 iconengines drwx------  2 hung hung     4096 srp 16 12:29 imageformats -rwx------  1 hung hung   334520 srp 16 12:29 libc++abi.so.1 -rwx------  1 hung hung  1934744 srp 16 12:29 libcrypto.so.1.0.0 -rwx------  1 hung hung   746960 srp 16 12:29 libc++.so.1 -rwx------  1 hung hung  5842312 srp 16 12:29 libQt5Core.so.5 -rwx------  1 hung hung   484832 srp 16 12:29 libQt5DBus.so.5 -rwx------  1 hung hung  5683224 srp 16 12:29 libQt5Gui.so.5 -rwx------  1 hung hung  1335584 srp 16 12:29 libQt5Network.so.5 -rwx------  1 hung hung   290008 srp 16 12:29 libQt5Positioning.so.5 -rwx------  1 hung hung  3829280 srp 16 12:29 libQt5Qml.so.5 -rwx------  1 hung hung  3831288 srp 16 12:29 libQt5Quick.so.5 -rwx------  1 hung hung   234552 srp 16 12:29 libQt5Sql.so.5 -rwx------  1 hung hung   331232 srp 16 12:29 libQt5Svg.so.5 -rwx------  1 hung hung   117104 srp 16 12:29 libQt5WebChannel.so.5 -rwx------  1 hung hung 67570152 srp 16 12:29 libQt5WebEngineCore.so.5 -rwx------  1 hung hung   208344 srp 16 12:29 libQt5WebEngineWidgets.so.5 -rwx------  1 hung hung  6439120 srp 16 12:29 libQt5Widgets.so.5 -rwx------  1 hung hung  1334528 srp 16 12:29 libQt5XcbQpa.so.5 -rwx------  1 hung hung   180248 srp 16 12:29 libquazip.so -rwx------  1 hung hung    22936 srp 16 12:29 libsnappy.so.1 -rwx------  1 hung hung   111888 srp 16 12:29 libsrtp.so.0 -rwx------  1 hung hung   383072 srp 16 12:29 libssl.so.1.0.0 -rwx------  1 hung hung    51080 srp 16 12:29 libudev.so.0 -rw-------  1 hung hung     4340 srp 16 12:29 openglblacklist.json -rwx------  1 hung hung   260232 srp 16 12:29 package_inst drwx------  2 hung hung     4096 srp 16 12:29 platforms -rw-------  1 hung hung       26 srp 16 12:29 qt.conf drwx------  2 hung hung     4096 srp 16 12:29 qtwebengine_locales -rwx------  1 hung hung    19720 srp 16 12:29 QtWebEngineProcess drwx------  2 hung hung     4096 srp 16 12:29 resources drwx------  6 hung hung     4096 srp 16 12:29 sound drwx------  2 hung hung     4096 srp 16 12:29 soundbackends drwx------  2 hung hung     4096 srp 16 12:29 sqldrivers drwx------  3 hung hung     4096 srp 16 12:29 styles drwx------  2 hung hung     4096 srp 16 12:29 translations -rwx------  1 hung hung 18987008 srp 16 12:29 ts3client_linux_amd64 -rwx------  1 hung hung     1364 srp 16 12:29 ts3client_runscript.sh -rwx------  1 hung hung  2206064 srp 16 12:29 update drwx------  2 hung hung     4096 srp 16 12:29 xcbglintegrations Etymology of "cut someone some slack" Teenagers. All the literature tells you one thing and one thing only – that  whatever they are doing, give them a break, cut them some slack, it's normal.      From the novel, Apple Tree Yard   I'm curious about the origins of . I know slacks are American English for trousers or pants, and a slacker is a lazy person. But what is a slack and how does one "cut" it? I found this question in a book.   How many terms of the Maclaurin expansion of $(1+x)^{82}$ are needed to guarantee finding a value of $1.1^{82}$ to an accuracy of $10^{-6}$?  This is how I tried to do it:  We want the Lagrange error to be less than $10^{-6}$:  $$R_{n}(0.1)&lt;10^{-6}$$  Now to find $R_{n}(0.1)$:  $$R_{n}(0.1)=\frac{f^{(n+1)}(0.1)\cdot0.1^{n+1}}{(n+1)!}$$  After writing the values of ${f^{(n+1)}}(x)$, I find a pattern and say that  $${f^{(n+1)}}(x)=\frac{82!}{(82-n)!}(1+x)^{82-n}$$  $${f^{(n+1)}}(0.1)=\frac{82!}{(82-n)!}(1.1)^{82-n}=\frac{82!(1.1)^{82-n}}{(82-n)!}$$  Now just substitute all of this back to $R_{n}(0.1)&lt;10^{-6}$:  $$\frac{\frac{82!(1.1)^{82-n}}{(82-n)!}\cdot0.1^{n+1}}{(n+1)!}&lt;10^{-6}$$  Great! Now I have an inequality that I can solve. I can't graph this so I just use trial and error (which seems like quite an intensive way to do it, so if anyone has a better way I'd love to know).  $$\frac{\frac{82!(1.1)^{82-n}}{(82-n)!}\cdot0.1^{n+1}}{(n+1)!}-10^{-6}&lt;0$$  This seems to work first for $n=28$. That means the highest power of $x$ that I need is 28, so the number of terms in the expansion needs to be $n+1=29$. But the book's answer is       30   What am I doing wrong here? I'm still quite new to the power series expansions so if there's anything unclear in my working, please let me know (also, as a side note, the book itself may be wrong, though that isn't very likely I'd assume). How to sail downwind faster than the wind? Recently a  set a record for sailing a wind-powered land vehicle directly down wind, and a speed faster than wind speed. Wikipedia has a  talking about it, but it doesn't explain exactly how it works.  I can imagine some configurations, but I don't get how a system could be set up to push forward with a tailwind (when the cart is moving slower than the wind) and push forward with a head wind (when the cart is moving faster than the wind).  Could someone help explain how this is possible? Drag and drop not working inside Nautilus on Ubuntu 17.10 I'm having a strange problem on Ubuntu 17.10: when I try to drag and drop something inside Nautilus it simply doesn't work, it doesn't even select the item, it seems like it's ignoring the action... Also, I cannot select things inside nautilus by drawing rectangles with the mouse.  All of these actions work only on the Desktop. Here is a demo:    I'm using the Xorg session with nVidia proprietary drivers. I also noticed that Nautilus seems to hang when I try to copy, paste or cut a file...  EDIT 1: I solved the problem for the slow copy/paste by disabling the clipboard sync plugin of KDEConnect. I also discovered that if I open Nautilus as root, I can drag and drop or select whatever I want... How do we prove $n^n \mid m^m \Rightarrow n \mid m$? I'm not sure I've got this right. When proving $a^n \mid b^n \Rightarrow a \mid b$, can we do this indirectly? In short,  "Suppose $a$ does not divide $b$, this implies that $a^n$ does not divide $b^n$. But $a^n \mid b^n$, hence $a$ divides $b$."  How about $n^n \mid m^m \Rightarrow n \mid m$? Can we do this the same way? Extruding a circular shape from a non-circular object I need to extrude a circular shape from a surface that's basically just a grid of quads. What's the best practice to do this without screwing up the topology too much?  I basically want to have a circular face I can extrude, in order to have a cylinder like protuberance on the object, something like this: Order of product of two elements in an abelian group