Format HTML not working
I have HTML formatted data stored in VARCHAR2 columns on the database for which I am using a stylesheet to format into XSL-FO to resolve the HTML tags. For example, my data template populates a field PARAGRAPH_TEXT with content such as
<b>some bold text</b>
and I am using
<xsl:apply-templates select="PARAGRAPH_TEXT"/>
in my RTF template to process the data using the stylesheet to convert it to
<fo:inline font-weight="bold">some bold text</fo:inline>.
The HTML tags are corrrectly resolved using the BI Publisher Word add-in and the output is correctly rendered in bold text but this does not happen when running on the server in an E-Business Suite environment due to HTML tags in the output XML being generated as <b> instead of <b>. Has anybody experienced this and, more importantly, can anybody suggest a way of getting <b> in the XML instead of <b>.
Sorry, I should have used the code tags. Let me ask that again.
I have HTML formatted data stored in VARCHAR2 columns on the database for which I am using a stylesheet to format into XSL-FO to resolve the HTML tags. For example, my data template populates a field PARAGRAPH_TEXT with content such as
<b>some bold text</b>and I am using
<xsl:apply-templates select="PARAGRAPH_TEXT"/>in my RTF template to process the data using the stylesheet to convert it to
<fo:inline font-weight="bold">some bold text</fo:inline>The HTML tags are corrrectly resolved when using the BI Publisher Word add-in and the output is correctly rendered in bold text but this does not happen when running on the server in an E-Business Suite environment due to the HTML tags in the output XML being generated as e.g. <b> instead of <b>. Has anybody experienced this and, more importantly, can anybody suggest a way of getting e.g. <b> in the XML instead of <b>
Similar Messages
-
CFGRID format=HTML not working in IE8
I'm using Cold Fusion 10 and trying a cfgrid and it does not work in IE8. It works perfectly in FF, of course. :-).
It IS within a Cfform in my .cfm file. Even when I take it down to it's simplest form to try to debug it doesn't work, but here is my original code:
<cfgrid name = "FirstGrid"
height="200" width="700"
font="arial" fontsize="12"
query = "Getdates"
SORT="Yes"
selectmode="edit"
format="html"
>
<CFGRIDCOLUMN NAME="anumber" DATAALIGN="LEFT"
BOLD="No" ITALIC="No"
SELECT="No" DISPLAY="No"
HEADERBOLD="No" HEADERITALIC="No">
<CFGRIDCOLUMN NAME="schoolyear" HEADER="School Year"
HEADERALIGN="LEFT" DATAALIGN="LEFT"
BOLD="Yes" ITALIC="No"
SELECT="Yes" DISPLAY="Yes"
HEADERBOLD="No" HEADERITALIC="Yes">
<CFGRIDCOLUMN NAME="doh" HEADER="Date of Hire"
HEADERALIGN="LEFT" DATAALIGN="LEFT"
BOLD="No" ITALIC="No"
SELECT="Yes" DISPLAY="Yes"
HEADERBOLD="No" HEADERITALIC="No" type="date">
<CFGRIDCOLUMN NAME="leavedate" HEADER="Leave Date"
HEADERALIGN="LEFT" DATAALIGN="LEFT"
FONT="Times" BOLD="No"
ITALIC="No" SELECT="Yes"
DISPLAY="Yes" HEADERBOLD="No"
HEADERITALIC="No">
<CFGRIDCOLUMN NAME="Returnfromleavedate" HEADER="Return From Leave Date"
HEADERALIGN="LEFT" DATAALIGN="LEFT"
BOLD="No" ITALIC="No"
SELECT="Yes" DISPLAY="Yes"
HEADERBOLD="No" HEADERITALIC="No">
<CFGRIDCOLUMN NAME="terminatedresignedretireddate" HEADER="Terminated/Resigned/Retired"
HEADERALIGN="LEFT" DATAALIGN="LEFT"
BOLD="No" ITALIC="No"
SELECT="Yes" DISPLAY="Yes"
HEADERBOLD="No" HEADERITALIC="No">
</cfgrid>
Thanks for any help!
B.Sorry, I should have used the code tags. Let me ask that again.
I have HTML formatted data stored in VARCHAR2 columns on the database for which I am using a stylesheet to format into XSL-FO to resolve the HTML tags. For example, my data template populates a field PARAGRAPH_TEXT with content such as
<b>some bold text</b>and I am using
<xsl:apply-templates select="PARAGRAPH_TEXT"/>in my RTF template to process the data using the stylesheet to convert it to
<fo:inline font-weight="bold">some bold text</fo:inline>The HTML tags are corrrectly resolved when using the BI Publisher Word add-in and the output is correctly rendered in bold text but this does not happen when running on the server in an E-Business Suite environment due to the HTML tags in the output XML being generated as e.g. <b> instead of <b>. Has anybody experienced this and, more importantly, can anybody suggest a way of getting e.g. <b> in the XML instead of <b> -
HTML not working in PL/SQL block..Help me ASAP
declare
l_col VARCHAR2(30) :=to_number(to_char(to_date('01-feb-2011','dd-mon-yyyy'),'dd'));
CURSOR name_cur IS
select name
from od_shift_schedule
where year=2011
and (month)=('Feb')
and decode(l_col,1,"01",2,"02",3,"03",4,"04",5,"05",6,"06",7,
"07",8,"08",9,"09",10,"10",11,"11",12,"12",13,"13",14,"14",15,"15",16,"16",17,"17",18,"18",19,"19",20,"20",
21,"21",22,"22",23,"23",24,"24",25,"25",26,"26",
27,"27",28,"28",29,"29",30,"30",31,"31")='W';
BEGIN
DELETE FROM nam;
commit;
FOR i IN name_cur
LOOP
dbms_output.put_line(i.name);
htp.p('<b>Employee '||i.name||' has been ticked.
</b><br/>');
EXECUTE IMMEDIATE 'insert into nam(name) values('''||i.name||''')';
commit;
END LOOP;
end;Kindly help me with this
If i'm wrong here kindly help me that how can i place a display messageRe: HTML not working in PL/SQL block..Help me ASAP
Using the community discussion forums for urgent issues is rude and a violation of the terms and conditions.
http://www.oracle.com/html/terms.html
>
4. Use of Community Services
Community Services are provided as a convenience to users and Oracle is not obligated to provide any technical support for, or participate in, Community Services. While Community Services may include information regarding Oracle products and services, including information from Oracle employees, they are not an official customer support channel for Oracle.
You may use Community Services subject to the following: (a) Community Services may be used solely for your personal, informational, noncommercial purposes; (b) Content provided on or through Community Services may not be redistributed; and (c) personal data about other users may not be stored or collected except where expressly authorized by Oracle
>
Also please read the FAQ on how to ask questions.
SQL and PL/SQL FAQ
>
2) Thread Subject line
Give your thread a meaningful subject, not just "help please", "Query help" or "SQL". This is the SQL and PL/SQL forum. We know your question is going to be about those things, make it meaningful to the type of question so that people with the right sort of knowledge can pick it up and those without can ignore it. Never, EVER, mark your subject as "URGENT" or "ASAP"; this forum is manned by volunteers giving their own time to help and your question is never urgent or more important than their own work or than other people's questions. It may be urgent to you, but that's not forum members issue. -
Exported HTML not work in my host.
Exported HTML not work in my host.
The program works fine. Looks good in the browser preview and published in businesscatalyst, but when i exporting as html and upload it to my server is bad, all misplaced.Thanks for the reply.
Everything is apparently copied and permissions are well.
Watch this please.
So it should be seen:
http://koldo01.businesscatalyst.com/
It is seen:
http://www.koldofuentes.com/ -
Date format is not working properly for Calender value help
Hi Experts,
We have two problems.
1. We want to change the format of date displayed. We want format of dd-MMM-yy. For that we have created one Simple
Type Dictionary Object with Displaying format dd-MMM-yy. It is working
fine for the non editable UI. But once I apply the dictionary type
object as data type for an input field, probem happens. Once the user
choose a date from calender value help the value in the input field is
coming like 01-011-12 not like 01-Jan-12.
The date format is not changing from the calender. But if we set the
display format of the dictionary object to MM-dd-yy or MM/dd/yy or
dd/MM/yy or dd-MM-yy the format conversion from calender to input field
is happening properly.
The only problem once we put MMM in place of MM for the input field
where user is selecting from a calender value help.
2. We want to restrict users from entering the value manually for date input field. The user
should be able only to enter value by selecting from calender value
help.
Please give suitable solution for these problems
Thanks
ShankhaHi Sankha,
Please refer the links below:
http://scn.sap.com/thread/1659463
http://scn.sap.com/thread/1533443
Regards,
Manoj -
Format Trigger not working in 10g Report.
I have a report with two eclipses
(*) Debit (*) Credit . Please note that the two asterics denotes eclipses.
I have a format triggers on these eclipses based on the database item Debit_credit.
IF :debit_credit = 'CREDIT' THEN
RETURN FALSE;
ELSE
RETURN TRUE;
End if;
and vis-visa. However the format trigger is not working. Regardless of the value of
debit_credit. I even created a frame around these eclipses and put my format trigger all to no avail. Please help.Create a boilerplate text in your repeating frame (get rid of the field :debit_credit from your layout, but leave it in your query). I created the boilerplate field B_1. My format trigger looks like:
function B_1FormatTrigger return boolean is
begin
if upper(:debit_credit) = 'CREDIT' then
srw.set_field(0, to_char('(*) CREDIT'));
else srw.set_field(0, to_char('(*) DEBIT'));
end if;
return (TRUE);
end;I hope I understood your question OK...I am not sure what an eclipses is? -
Set Text of Container to HTML not working
I have a div tag named "theAnswer" on a page. When the user
clicks the "Submit" button, I want some text to appear inside the
div that has HTML formatting.
The HTML code for the text I want to appear is below:
You are correct! We are committed to conducting
business with
the highest degree of integrity, complying with legal
standards and
regulations and serving others with respect, fairness and
caring. Click here for <a
href="javascript:;"
onClick="MM_openBrWindow('../docs/
Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=575')">More
Info</a> or click Continue.
After I put in the Behavior to "Set Text > Set Text of
Container to", choose the correct Div tag, and paste the above into
the "New HTML" field, when I click the Submit button, I get the
following appearing in the div "theAnswer" exactly how it appears
below as text without it being actual formatted HTML.
You are correct! We are committed to conducting
business with
the highest degree of integrity, complying with legal
standards and
regulations and serving others with respect, fairness and
caring. Click here for <a
href="javascript:;"
onClick="MM_openBrWindow('../docs/
Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=575')">More
Info</a> or click Continue.
It's not formatted as HTML, it just comes out exactly what
the coding is. Why?!Let's see the page, please.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Jim Rehmann" <[email protected]> wrote in
message
news:g6a3in$dv4$[email protected]..
>I have a div tag named "theAnswer" on a page. When the
user clicks the
> "Submit" button, I want some text to appear inside the
div that has HTML
> formatting.
>
> The HTML code for the text I want to appear is below:
>
> You are correct! We are committed to
conducting business with
> the highest degree of integrity, complying with legal
standards and
> regulations and serving others with respect, fairness
and
> caring. Click here for <a
href="javascript:;"
> onClick="MM_openBrWindow('../docs/
>
>
Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=57?5')"
>>More
> Info</a> or click Continue.
>
>
> After I put in the Behavior to "Set Text > Set Text
of Container to",
> choose
> the correct Div tag, and paste the above into the "New
HTML" field, when I
> click the Submit button, I get the following appearing
in the div
> "theAnswer"
> exactly how it appears below as text without it being
actual formatted
> HTML.
>
>
> You are correct! We are committed to
conducting business with
> the highest degree of integrity, complying with legal
standards and
> regulations and serving others with respect, fairness
and
> caring. Click here for <a
href="javascript:;"
> onClick="MM_openBrWindow('../docs/
>
>
Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=57?5')"
>>More
> Info</a> or click Continue.
>
> It's not formatted as HTML, it just comes out exactly
what the coding is.
> Why?!
>
> -
PrevFrame() buttons in a swf file inserted in html not working in Firefox
Hi!
I have a very weird problem.
I have created a photo gallery using AS3 in Flash CS5. I have used prevFrame() and nextFrame() actions for "previous photo" and "next photo" buttons as well as for "previous thumbnails" and "next thumbnails" buttons.
All the buttons work fine when i run the swf files as well as when i run the swf files in Firefox 8.0 and IE9. However, once I insert this swf file into my html file using Dreamweaver CS5->Insert->Media->swf, the "previous" buttons dont work in Firefox 8.0! the previous image button works sometimes whereas the previous thumbnails button does not work at all! They work fine in IE9. The next buttons also work fine in every browser. Heres my code:
stop();
thumbprev_btn.visible=false;
next_btn.addEventListener(MouseEvent.CLICK, nextimage);
prev_btn.addEventListener(MouseEvent.CLICK, previmage);
thumbprev_btn.addEventListener(MouseEvent.CLICK, prevthumbs);
thumbnext_btn.addEventListener(MouseEvent.CLICK, nextthumbs);
function nextimage(event:MouseEvent):void
if(mc_content.currentFrame==mc_content.totalFrames)
mc_content.gotoAndStop(1);
else
mc_content.nextFrame();
function previmage(event:MouseEvent):void
if(mc_content.currentFrame==1)
mc_content.gotoAndStop(mc_content.totalFrames);
else
mc_content.prevFrame();
function nextthumbs(event:MouseEvent):void
thumbprev_btn.visible=true;
nextFrame();
if(currentFrame==3)
thumbnext_btn.visible=false;
function prevthumbs(event:MouseEvent):void
thumbnext_btn.visible=true;
prevFrame();
if(currentFrame==1)
thumbprev_btn.visible=false;
Please help.Thankyou Ned. The html file published by flash worked perfectly however the problem persisted even if i used this html file's code. But strangely, the problem disappeared after a few days! Now the original dreamweaver code is also working fine.
-
Format conversions not working in Numbers 3.0?
Hi,
Converting text to dates, numbers etc are not working for me in Numbers 3.0. Is anyone facing this issue?
A cell that is initially labeled as text is very difficult to change to a hard-coded type (like Date). The type "Automatic" works however it is impossible to choose the exact date format.
S.r.Same problem. Messages wrapped at about 72 characters.
This doesn't happen on my .Mac account.
Only on my Exchange account.
If I use another client on Exchange or webmail I don't have this problem.
Therefore I suspect its a Mac Mail client issue.
How can I set the Format:Flowed on the client?
Thanks
Doug -
Formatted Searches Not Working on a PC
Dear Experts,
I have a case where formatted searches for one particular computer are not working at all. All the connected computers are working as required with all the formatted searches.
What PC requirment is need to facilitate FMS functionality ?Dear MARTIN,
there Are two types of FMS Are used in the SAP B1.
Dynamic Value :- Select $[$20.24.number]
In this Example 20 is the matrix Id 24 is the Col Id And Number show the type of the Value
Static Value After Save the Document :
Select $[Odln.Docnum]
You can Also Call the Store procedure in the SAP b1
Thanks
Dhiraj -
MacBook Pro running amazingly slow (formatting DID not work)
I own a MacBook Pro with OS X installed on it, and it suddenly started running very slow.
It happened literally overnight. One day it was working, the next morning it wasnt. I tried formatting the hard drive via the disk utility when starting the MacBook, but it didnt work. I also tried to delete my Windows partition, but it didnt allow me (though I dont believe that is a problem, since the last time I used it was over a year ago).
Anybody has any ideas?
Thanks for your help,
Andre.Suggestions of Things You Can Do To Help A Slow Computer
If your computer seems to be running slower here are some things you can do:
Start with visits to: OS X Maintenance - MacAttorney;
The X Lab: The X-FAQs;
The Safe Mac » Mac Performance Guide;
The Safe Mac » The myth of the dirty Mac;
Mac maintenance Quick Assist.
Boot into Safe Mode then repair your hard drive and permissions:
Repair the Hard Drive and Permissions Pre-Lion
Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
Repair the Hard Drive - Lion/Mountain Lion/Mavericks
Boot to the Recovery HD:
Restart the computer and after the chime press and hold down the COMMAND and R keys until the Utilites Menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD disk icon and click on the arrow button below.
When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
Restart your computer normally and see if this has helped any. Next do some maintenance:
For situations Disk Utility cannot handle the best third-party utility is Disk Warrior; DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible.
Note: Alsoft ships DW on a bootable DVD that will startup Macs running Snow Leopard or earlier. It cannot start Macs that came with Lion or later pre-installed, however, DW will work on those models.
Suggestions for OS X Maintenance
OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep. Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced since Tiger. These utilities have limited or no functionality with Snow Leopard or later and should not be installed.
OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive.
Helpful Links Regarding Malware Protection
An excellent link to read is Tom Reed's Mac Malware Guide.
Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
See these Apple articles:
Mac OS X Snow Leopard and malware detection
OS X Lion- Protect your Mac from malware
OS X Mountain Lion- Protect your Mac from malware
About file quarantine in OS X
If you require anti-virus protection I recommend using VirusBarrier Express 1.1.6 or Dr.Web Light both from the App Store. They're both free, and since they're from the App Store, they won't destabilize the system. (Thank you to Thomas Reed for these recommendations.)
Troubleshooting Applications
I recommend downloading a utility such as TinkerTool System, OnyX, Mavericks Cache Cleaner, or Cocktail that you can use for removing old log files and archives, clearing caches, etc. Corrupted cache, log, or temporary files can cause application or OS X crashes as well as kernel panics.
If you have Snow Leopard or Leopard, then for similar repairs install the freeware utility Applejack. If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line. Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. Applejack does not work with Lion and later.
Basic Backup
For some people Time Machine will be more than adequate. Time Machine is part of OS X. There are two components:
1. A Time Machine preferences panel as part of System Preferences;
2. A Time Machine application located in the Applications folder. It is
used to manage backups and to restore backups. Time Machine
requires a backup drive that is at least twice the capacity of the
drive being backed up.
Alternatively, get an external drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
1. Carbon Copy Cloner
2. Get Backup
3. Deja Vu
4. SuperDuper!
5. Synk Pro
6. Tri-Backup
Visit The XLab FAQs and read the FAQ on backup and restore. Also read How to Back Up and Restore Your Files. For help with using Time Machine visit Pondini's Time Machine FAQ for help with all things Time Machine.
Referenced software can be found at MacUpdate.
Additional Hints
Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity as free space.
Add more RAM. If your computer has less than 2 GBs of RAM and you are using OS X Leopard or later, then you can do with more RAM. Snow Leopard and Lion work much better with 4 GBs of RAM than their system minimums. The more concurrent applications you tend to use the more RAM you should have.
Always maintain at least 15 GBs or 10% of your hard drive's capacity as free space, whichever is greater. OS X is frequently accessing your hard drive, so providing adequate free space will keep things from slowing down.
Check for applications that may be hogging the CPU:
Pre-Mavericks
Open Activity Monitor in the Utilities folder. Select All Processes from the Processes dropdown menu. Click twice on the CPU% column header to display in descending order. If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar. Click on the Force Quit button to kill the process. See if that helps. Be sure to note the name of the runaway process so you can track down the cause of the problem.
Mavericks and later
Open Activity Monitor in the Utilities folder. Select All Processes from the View menu. Click on the CPU tab in the toolbar. Click twice on the CPU% column header to display in descending order. If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar. Click on the Force Quit button to kill the process. See if that helps. Be sure to note the name of the runaway process so you can track down the cause of the problem.
Often this problem occurs because of a corrupted cache or preferences file or an attempt to write to a corrupted log file. -
HTML not working Mail 5.2
I have always had html mail issues with my iMac since August 2011. I use yahoo.
For the most part, 90% of my emails display html just fine. The problem I have is one day an email will display html fine and then the next it would be in text form practically useless. And for some html emails, it never displayed the email correctly albeit my iPhone 5S does.
My preference for displaying remote images in html is obviously checked.
Any help would be appreciated.
P.S. Another issue I have with Mail is that all my Yahoo folders (under mailboxes) after having Mail opened for a length of time will disppear out of the blue. In order to get them back, I have to close out Mail and relaunch. I still have access to inbox, sent, trash, and junk. But "Yahoo!" folders displayed under those are gone for some reason until I relaunch.This is not related to HTML, but to Mail 5.2. I can't seem to get back to widescreen layout in my mac mail. I'm not sure what I did, but is there a way to get the 3-way split screen back? I went into Preferences and tried that, but nothing changes. I've read that once you go back to classic mail, you cannot get the widescreen layout back. Anyway, tried the Letterbox app. as well, is not working on Mail 5.2
Any help would be nice. Thanks! -
IMovie "mobile" format does not work on iPad
I created several movies with iMovie and shared them via MobileMe. Each movie was rendered in the "mobile" format. When attempting to view the result on my iPad I received a message telling me there is a problem with the format of the movie and that I should discuss with the gallery's owner. After a brief discussion with myself, I decided to re-publish the movie in the "medium" format. It works.
Interesting that the "mobile" format works on my iPhone.I created several movies with iMovie and shared them via MobileMe. Each movie was rendered in the "mobile" format. When attempting to view the result on my iPad I received a message telling me there is a problem with the format of the movie and that I should discuss with the gallery's owner. After a brief discussion with myself, I decided to re-publish the movie in the "medium" format. It works.
Interesting that the "mobile" format works on my iPhone. -
Get-ADUser Format-Table not working as expected
Hi Everyone,
I'm using the following code:
Import-module ActiveDirectory
$USERS = Import-Csv C:\temp\R12_Active_Users.csv
$USERS|foreach {Get-ADUser -Identity $_.samaccountname -properties * | FT -autosize samaccountname, Name, UserPrincipalName, mail, objectguid, distinguishedname, description, PhysicalDeliveryOfficeName, EmployeeID, EmployeeNumber}
I'm not out'ing this to a text file or exporting to a CSV yet, as the format is not what I am expecting.
Instead of having a table with the headings for each value, followed by the values for all the samaccountnames listed in the CSV that is being imported, I am getting a new heading for all values for each samaccountname.
Is someone able to advise me on where I'm going wrong? I am getting the information that I require, I'm just not getting the table set correctly.
Below is an example of the output:
samaccountname UserPrincipalName
mail
user1
[email protected]
[email protected]
samaccountname UserPrincipalName
mail
user2
[email protected]
[email protected]
samaccountname UserPrincipalName
mail
user3
[email protected]
[email protected]
Output should look like this:
samaccountname UserPrincipalName
mail
user1
[email protected]
[email protected]
user2
[email protected]
[email protected]
user3
[email protected]
[email protected]
user4
[email protected]
[email protected]
Any assistance on this would be greatly appreciated.
Cheers,
SimonIt is because you are piping over to Format-Table within your ForEach-Object loop, try changing it to
Import-module ActiveDirectory
$USERS = Import-Csv C:\temp\R12_Active_Users.csv
$USERS |foreach {
Get-ADUser -Identity $_.samaccountname -properties *} |
FT -autosize samaccountname, Name, UserPrincipalName, distinguishedname, description, PhysicalDeliveryOfficeName, EmployeeID, EmployeeNumber
If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.
Don't Retire Technet -
Does Conditional Formatting does not work in HTML report editor - BO 4.1
Hi
I have just upgraded to BO 4.1 from BOXI 3.1
I see conditional formatting option is grayed out for me in BO 4.1
I dont have java installed and running launchad on HTML (Preference ->WEBI-> Modify Report -> HTML )
Is there any relation between Applet option and Conditional formatting or is there anything wrong with Access which i need to correcr explicitly as compared to BO 3.1 ?Hi Saurav,
This is expected behavior; We can modify the Conditional formatting only though Applet mode or using Webi Rich Client.
For more feature differences between Viewers go through following link;
http://scn.sap.com/community/businessobjects-web-intelligence/blog/2013/12/16/feature-differences-between-the-web-intelligence-clients-bi41-sp02
Regards,
Veer S.
Maybe you are looking for
-
My New iphone 5 was synced on my sisters computer and now when i want to use it all of my things are gone, including my pictures and contacts. they have all been replaced with her contacts and pictures. how do i get my things back? i have tried synci
-
Looking for best cord option for connecting and utilizing iphone and itouch to use in car that has an 'aux' port....thoughts, suggestions? Thanks
-
ACS 5.2 / WLC - EAP-TLS Certificate from 2 CA
Hello, I'm Newbie with ACS equipment, i'm trying to implement it to secure our WIFI environment. One wifi SSID is broadcasted on a site, I would like to authenticate WIFI client through machine certificate. The big deal is that some client computer b
-
Access to Oracle business ruleauthor
After deploying the ear file, I inputted the following address http://localhost:7777/ruleauthor/ But It needs username and password. Can anybody tell me that? Thanks a lot. peter
-
Update to Windows Phone 8.1
Hi, I'm from Israel and i cannot update my cellphone Samsung ATIV S i8750 to WP 8.1 because there is no available update in my country (Israel). i have windows phone version :8.0.10211.204 and in order to upgrade i need minimum version: 8.0.10322.71