How to force BI Publisher to output header without any record in CSV or XML format?

When the output format is CSV or XML, it seems that Oracle BI publisher does not use the template. When there is no record returned, it only display "ROWSET" in the report. No column names are displayed in the report. If the output format is one of the following: PDF, Excel, HTML, RTF, Excel200, and MHTML, it generates correct header/column names even there is no record.
How could I force BI publisher to do the same when the output format is CSV or XML (data)?
Thanks,
GT

Alex,
I did not say that bip must use template for xml output. What I have said was that bip ignore the template even you have set up a template when the output is in XML or CSV. The reason that I set up a template for XML or CSV output is to test whether I can make it output column names when the SQL query returns no records. It apparently that it did not return any column name. It just returns "ROWSET" text.  This is a problem for down-stream process or any other receiving system since the down-stream systems do not know what are the column names in the report.
Did you get what is the issue here and have an answer for it?
GT

Similar Messages

  • Hello! Please tell me how to downgrade IOS 8 to 7 . Without any problem like i had 3194 problem? Thanks in advance

    Hello! Please tell me how to downgrade IOS 8 to 7 . Without any problem like i had 3194 problem? Thanks in advance

    Sorry, but it is no longer possible. The new update, iOS8.1.1 has fixed many people's issues.
    Cheers
    Pete

  • For PCI-4451,How to change the frequency of an output signal without any undefined state

    I would like to generate a signal using output channels of PCI-4451 and at the same time capture data using the input channels. Is there any method that I can generate a continuous signal without any undefined state when the signal frequency is being changed?
    Attachments:
    Input_Signal.bmp ‏729 KB

    Wee,
    DSA boards such as the PCI-4451 have a number of very desirable properties including high precision and a high sampling rate. The trade-off for the combination of these two properties is that the DSA boards cannot adjust their sampling rate on-the-fly. Instead they have to be stopped and reconfigured. During this reconfiguration time, the value of the board's output becomes flat and level.
    If you are looking to adjust the board's output without seeing these flat spots, you have to take a different approach to programming a DSA board. Instead of reconfiguring the board, what you need to do is allow the board to continue to run (at the same output frequency), and then overwrite the output buffer that the board reads to output values. This will
    allow you to output new data without the flat spots. Below you will find an example that displays this behavior.
    If you determine that this is not an acceptable workaround due to the limitations on output rates, you may want to look at using a Multifunction DAQ board (60xx or 62xx) or an arbitrary waveform generator (54xx) device instead.
    Best of luck with your application.
    Regards,
    Jed R.
    Applications Engineer
    National Instruments
    Attachments:
    Cont_Gen_Voltage_Wfm-Int_Clk-With_Updates_for_DSA.llb ‏161 KB

  • How can I get a larger output size without dropouts?

    Using FMLE 3.2 to push HD to UStream.  Capture card is a Decklink Studio2.  Codec is h.264.  I see blocking and get dropouts on the input side when I increase the output size above 720 x 404.  I have used different bit rates, up to 2500.  Same problem.

    I figured out what the issue was.  The data going into the
    indicator on the front (the graph) was an array containing 10
    points.  I was able to change it so it updates every point by
    changing an input into the sub vi, storing the array and then
    connecting an indicator to read the 1st value from that array. 
    Thanks - Josh

  • The administrator account on my iMac has been changed to standard account somehow. How do I change it back to Admin. without any admin account to put password in with..?

    I have an iMac 21.5 Intel based comp. running Lion 10.7.3

    Somehow you managed to demote the only admin account, despite the safeguards in place to prevent it. I don't remember ever seeing that before. I'd be curious to know how you did it, and why.
    Option 1
    If you've enabled root logins, log in as root and promote the other user to an admin.
    Option 2
    Boot from your recovery partition (command-R at startup) and restore your system from the last Time Machine snapshot taken before the damage was done, if you know when that was.
    Option 3
    Back up all data, then boot in single-user mode. When the text stops scrolling, follow the prompts to make the boot volume writable. Then enter the following command:
    ls /var/db/.AppleSetupDone
    You should get the following line of output below what you entered:
    /var/db/.AppleSetupDone
    If you do, then very carefully enter the following command:
    rm !$
    Now you should get no output. Then enter
    reboot
    The system will boot into the Setup Assistant, as if you were setting it up for the first time. Create a user with the same name as the old admin user. Log in and test. I'm not sure what will happen to your other user accounts, if any. You may need to recreate them.

  • How can I cancel my contract with Verizon without any fees because Verizon has failed to provide me with a workable phone for over 2 months despite many hours talking to tech support and several replacement phones, batteries, power cord, and sim card etc

    How can I contact a representative of Verizon to help me cancel my contract so I can switch carriers to get a phone that is reliable and a Co. that supports its products?  Verizon seems to have many blocking scripts or dead ends when trying tio contact someone  who can help the customer. How can I get around the blocks and get to someone who can directly answer my questions? I have one of those "hot" phones that were recently seen on the news, yet no one seems to be able to help me resolve the issue. I have no idea where this comment goes, or who reads it?
    Jim R

    The phone is your responsibility, if it's before the 1 year warranty you can get defects fixed by the Manufacturer  of the phone. If you want to leave pay your termination fee, or find a carrier who claims they will do it but don't really expect it to happen either.

  • How much hotness does a MacBook Pro support without any damages?

    I've been having some doubts about the wellness of my computer, which is almost new. I got it around 2 weeks ago, maybe a little more days than that, as a replacement for a previous one. I decided to run the AHT (Apple Hardware Test) 8 times in a row to get as far away from any insecurities as possible, but yet, I don't know how accurate this test can be. I ran the complete ones, and let it connected the whole period of time.
    What got me into running the test was the fact that, when taking it back home on the trunk (still packaged) we casually happened to go through some really sketchy roads for about half an hour. Roads that were covered by little rocks and not plain concrete. After that, we passed over roads that weren't even covered in concrete, but just fine soil, with road bumps almost every 21 yards, and potholes appearing oftenly (d*mmit). It's the kind of roads you find on rustic towns in Mexico. The ride wasn't chaotically horrible, but it wasn't comfortable at all, either. I'm just trying to get the picture straight.
    Anyways: My question derives from the point that, during the tests, the device isn't working in a normal manner indeed, but inspecting each and every internal part of hardware, in comparison to a normal usage of running programs and letting the fan do its job to cool off the system. In these tests, the fan just works when it is time to check it, as far as I understand it. Since I ran the test for 8 times "straight", and some minutes more, maybe 10 or so, I'm wondering about if I committed a mistake when doing all of that. I decided to turn it off and almost immediately thought about it. I pulled up the laptop and felt the lower-left side as very hot, and when I say that, I do mean it was really hot. Maybe it sounds silly, but I got this worry that, possibly, something inside could have deteriorated from the heat, but these computers are, supposedly, very resistent as a whole. I also wonder if it's bad to let the AHT run for so long, I mean, if it could "wear off" the hardware, any of it.
    I'd like my whole post to be answered as thoroughly as possibly, and not simply yes/no answers without some explanation to make it clearer and better as a response. I'd thank you for that very much, and pardon me for my possible obsessions, but technology is delicate, and I just want my computer to be fine. I trust you understand.

    So, what do you recommend? Is it fine if I leave it like that? Should I take it to someone else to get it checked, to get my doubts cleared? Where I live, there aren't any Apple Stores, so it means no Genius Bars, unfortunately, but the people who work at the "iShops" are capable enough to reach the level, or at least that's what they say. They practically take your computer to a room at the back of the place, close the door, and then they come out with the according verdict.

  • HT3296 How do I navigate 1st gen Apple TV without ANY remote?

    How do I (or can I) navigate 1st gen Apple TV without being able to use any remote?

    You can use Remote app on an iOS device, however it needs to have ben configured first and that would entail using an Apple Remote.
    If you have lost or do not have an Apple remote the new silver remote works with all units.
    Some 3rd party programmable remotes may also have codes to use with other devices like AppleTV.
    AC

  • How to Install Mountain Lion on a mac Without any software

    My issue is that I have a MacBook air. I lost everything that came with it. I don't have the CD for the software. Not knowing I needed the CD to install the software (because on my imac i never needed to), I restored my macbook to factory settings. When I tried to turn it on again, it said I needed to install mountain lion. I tried but it said I haven't bought the mountain lion with that apple id. So I did exactly that. I bought the mountain lion software with that apple id. The payment was confirmed and I received an e-mail with the info and the access key or something. I went to the website and it says my order is complete. Except that when I come back to my computer and type that same apple I.D. It says mountain lion wasn't bought with that I.d. But I had just done that.
    So what could to install mountain lion on a computer that currently doesn't have any softwares intalled? Why is it saying I didn't buy it when I just did and the status here says it's complete?

    The redemption code you received is used to download Mountain Lion the from the App Store.
    Open the App Store. Select either Featured, Top Charts, or Categories at the top of that window then click Redeem under Quick Links on the right.
    Reinstalling to factory settings does install OS X.

  • How to run batch programs using SUBMIT command without any interaction need

    Hello ABAP gurus,
    I have created a batch program in SE38 which calls many other SE38 Programs (Reports).
    I have used the command SUBMIT to call the sub programs. There are about 15 sub programs that this main batch program is calling.
    It works fine, but after calling each subprogram it stops and I have to manually click on 'Back Button' in green on the sap screen to run the next program in the list. Like this I have to do 15 times to run all the programs in the batch.
    Is there a way to avoid this manual intervention and make the program run all the sub programs on its own.
    Your feedback will be highly appreciated.
    Thanks
    Ram

    Thanks Sampath for the response.
    Yes I am using the option "AND RETURN". So it is coming out of each sub program, and it is at this stage it waits for me to click on 'backward green arrow' to continue to the next.
    Here is the code I have used
      SUBMIT Z_AS_BI_F0005_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_DIVISION_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_COMPANY_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_CUSTOMER_EXTRACT WITH  S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_BRANCH_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_BUS_UNIT_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_ADDRESS_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_CUSTOMER_GROUP_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_GROUP_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_PMT_TERMS_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_REGION_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_TERRITORY_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
    Any other suggestions or feedback will be appreciated.
    Tks
    Ram

  • HT201302 How do I transfer PC photos to iPad without any cost

    I need to transfer my photos from a PCM to my iPad 2

    Another way. You can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
    Secrets of the iPad Camera Connection Kit
    http://howto.cnet.com/8301-11310_39-57401068-285/secrets-of-the-ipad-camera-conn ection-kit/
     Cheers, Tom

  • How do you run applications as NON root without any x (server) ?

    Hi! I'm trying to run mpd as a user right after init. According to the wiki one should use .xinitrc, but since there's no X server for me to run it won't work for me.
    I've tried this command in bashrc "( sleep 15 && mpd ~/.mpd/mpd.conf )" and yes it works assuming I ssh into my server.
    Where do you put script/commands to launch an application as a NORMAL user after init?
    My Setup:
    archlinux on a server, so no graphical input.
    Thanks

    dyscoria wrote:
    I don't use mpd, but you could try putting in /etc/rc.local which executes straight after daemons:
    su $username -c "mpd ~/.mpd/mpd.conf"
    Yeah I've already tried that also tried  (sleep 50 && mpd ~/.mpd/mpd.conf) &. But none of the commands executes to my knowledge, because it's been over 5 minutes now and mpd still hasn't started. Both commands works just fine if I enter em manually in the terminal.
    jac wrote:
    You know mpd won't actually be running as root, right?
    man mpd.conf wrote: user <username>
    This  specifies  the  user that MPD will run as, if set.  MPD should never run as root,
    and you may use this option to make MPD change its user id after initialization.  Do
    not use this option if you start MPD as an unprivileged user.
    Edit: Sorry, can't get that to look normal any way I do it. Best to view it straight from the terimnal
    Hi! I understand what you mean, thanks.
    No,  I assumed it would run as root. But you see I can't launch mpd as a daemon in rc.d, it always fails for me. The easiest way for me is to "mpd my.config" in some ways.

  • How can in Install Flash Player 10.3 without any problem?

      Regards. I installed Flash Player 11, and then the 11,1 version and is truly horrible. I have uninstalled the 11 version and then tried to download (fdirectly from this boards) and Install the 10.3 and once it finished downloading, when it is set to start the installation, i get the message that the flash 10.3 cannot be installed because there is a newer version, that i should install that one, and so doe not let me Install the 10.3 version, and i am an NHL Gamecenter Subscriber and NFL Game Pass subscriber and live streaming video is horrible in the 11 version, is half speed, it looks crooked and on a bad resolution when i click the Full Screen button and none of those happened with the old 10.3 version. Please if someone can help me. Thank you very much in advance!

    I've also experiencing the same issue on one of our freash computer builds today (never had Flash 11.x.x.x in it before). This computer had Flash 10.1.x.x installed (not 11.x.x.x), I tried to install 10.3.183.10 and a pop-up window comes up saying: "The version of Adobe Flash Player that you are trying to install is not the most current version. Please visit the Player Download Center to obtain the latest, most secure version.". The link takes you to the latest Flash 11.x.x.x patch.
    I then uninstalled 10.1.x.x, rebooted the machine and tried to install 10.3.183.10 and got the same error message. Next I copied 10.3.183.11 to a local dir on the machine and tried to run it but it gives me the same error as above.
    I've patched a couple of other machines that had 10.3.183.10 to .10.3.183.11 w/ out any problems though.

  • Displaying BLOB of type word doc in XML Publisher pdf output

    Hi all,
    Please guide me relating the Displaying BLOB of type word doc in XML Publisher pdf output with links or pointers.In the following xml column TRADE_LICENSE_COPY is BLOB when queried from toad and if clicked on the ouput word doc is being opened directly.How to show the column value word doc as attachment in pdf output?
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Generated by Oracle Reports version 10.1.2.3.0 -->
    <XXTDIC_SUP_REG>
    <LIST_G_BASIC_QUSNRY>
    <G_BASIC_QUSNRY>
    <RESPONSE_ID>194</RESPONSE_ID>
    <UAE_REGISTRATION>Yes</UAE_REGISTRATION>
    <TRADE_LICENSE_COPY>PK</TRADE_LICENSE_COPY>
    <WEBSITE_DETAILS>com</WEBSITE_DETAILS>
    <AMERICA_2009_2010>Between 81 and 90 %</AMERICA_2009_2010>
    </G_BASIC_QUSNRY>
    </LIST_G_BASIC_QUSNRY>
    <LIST_G_CONTACTS>
    <G_CONTACTS>
    <CONTACT_PERSON>MR.NTF1 NTL1</CONTACT_PERSON>
    <PHONE_NUMBER>0</PHONE_NUMBER>
    <EMAIL_ID>na</EMAIL_ID>
    <FAX_NUMBER>0</FAX_NUMBER>
    </G_CONTACTS>
    <G_CONTACTS>
    <CONTACT_PERSON>MR.NTF1 NTL1</CONTACT_PERSON>
    <PHONE_NUMBER>0</PHONE_NUMBER>
    <EMAIL_ID>na</EMAIL_ID>
    <FAX_NUMBER>-</FAX_NUMBER>
    </G_CONTACTS>
    </LIST_G_CONTACTS>
    <LIST_G_SC_QUSNRY>
    <G_SC_QUSNRY>
    <RESPONSE_ID1>113</RESPONSE_ID1>
    <FY3_PROJTYPE_COMMERCIAL>Between 21 and 30 %</FY3_PROJTYPE_COMMERCIAL>
    <ENG_INSTALL_CAPABILITY></ENG_INSTALL_CAPABILITY>
    <SCM_EXPERIENCE_PARTNERING>Have you had experience of &quot;Partnering&quot;?(i.e with major contracts / employers If so list them.Also please provide details</SCM_EXPERIENCE_PARTNERING>
    </G_SC_QUSNRY>
    </LIST_G_SC_QUSNRY>
    <LIST_G_ADDRESS>
    <G_ADDRESS>
    <OFFICE_ADDRESS>Addres1</OFFICE_ADDRESS>
    <ADDRESS_LINE1>Addre line1</ADDRESS_LINE1>
    <ADDRESS_LINE2>Addre line2</ADDRESS_LINE2>
    <ADDRESS_LINE3>Addre line3</ADDRESS_LINE3>
    <CITY>City1</CITY>
    <STATE>State1</STATE>
    <COUNTRY>US</COUNTRY>
    </G_ADDRESS>
    <G_ADDRESS>
    <OFFICE_ADDRESS>Addres2</OFFICE_ADDRESS>
    <ADDRESS_LINE1>Addre line1</ADDRESS_LINE1>
    <ADDRESS_LINE2>Addre line2</ADDRESS_LINE2>
    <ADDRESS_LINE3>Addre line3</ADDRESS_LINE3>
    <CITY>City2</CITY>
    <STATE>State2</STATE>
    <COUNTRY>IN</COUNTRY>
    </G_ADDRESS>
    </LIST_G_ADDRESS>
    <LIST_G_DSN_QUSNRY>
    </LIST_G_DSN_QUSNRY>
    <LIST_G_PROD_SUB_CODE>
    <G_PROD_SUB_CODE>
    <PROD_SUB_CODE>060.42</PROD_SUB_CODE>
    <PROD_SUB_DESC>Automotive Maintenance Items and Repair/Replacement Parts.Filters: Air, Fuel, Oil, Power Steering, Transmission and Water, and PCV Valves</PROD_SUB_DESC>
    </G_PROD_SUB_CODE>
    <G_PROD_SUB_CODE>
    <PROD_SUB_CODE>060.60</PROD_SUB_CODE>
    <PROD_SUB_DESC>Automotive Maintenance Items and Repair/Replacement Parts.Hose and Hose Fittings: Brake, Heater, Radiator, Vacuum, Washer, Wiper, etc.</PROD_SUB_DESC>
    </G_PROD_SUB_CODE>
    <G_PROD_SUB_CODE>
    <PROD_SUB_CODE>207.37</PROD_SUB_CODE>
    <PROD_SUB_DESC>Computer Accessories and Supplies.CRT Holders, Cases, Glare Screens, Locks, etc.</PROD_SUB_DESC>
    </G_PROD_SUB_CODE>
    <G_PROD_SUB_CODE>
    <PROD_SUB_CODE>207.60</PROD_SUB_CODE>
    <PROD_SUB_DESC>Computer Accessories and Supplies.Keyboard Dust Covers, Key Top Covers, Keyboard Drawers, Wrist Supports, etc.</PROD_SUB_DESC>
    </G_PROD_SUB_CODE>
    </LIST_G_PROD_SUB_CODE>
    <LIST_G_CONT_QUSNRY>
    </LIST_G_CONT_QUSNRY>
    <LIST_G_BUSS_CLASS>
    <G_BUSS_CLASS>
    <BUSS_CLASS>SUPPLY_CHAIN</BUSS_CLASS>
    </G_BUSS_CLASS>
    </LIST_G_BUSS_CLASS>
    <CF_SUPPLIER_NAME>N1</CF_SUPPLIER_NAME>
    <CF_REG_STATUS>Draft</CF_REG_STATUS>
    <CF_BUS_CLASS></CF_BUS_CLASS>
    <CF_PROD_SUBCODE>060.36</CF_PROD_SUBCODE>
    <CF_PROD_SUBCODE_MEAN>Automotive Maintenance Items and Repair/Replacement Parts.Electrical Accessories: Alternators, Ammeters, Coils, Distributors, Generators, Regulators, Starters, etc.</CF_PROD_SUBCODE_MEAN>
    <CF_COUNTRY>India</CF_COUNTRY>
    </XXTDIC_SUP_REG>
    Thanks in advance.
    Best Regards,
    Mahi

    Mahi,
    you can't do that yet.

  • How to force my Web part to run regardless of users permissions

    I have created the following custom permission , which will allow users to Create items without being able to view,edit them:-
    $spweb=Get-SPWeb -Identity "http://vstg01";
    $spRoleDefinition = New-Object Microsoft.SharePoint.SPRoleDefinition;
    $spRoleDefinition.Name = "Submit only";
    $spRoleDefinition.Description = "Can submit/add forms/files/items into library or list but cannot view/edit them.";
    $spRoleDefinition.BasePermissions = "AddListItems, ViewPages, ViewFormPages, Open";
    $spweb.RoleDefinitions.Add($spRoleDefinition);
    $spweb.Dispose();
    then inside my "Issue Tracking List" i stop inheriting permission from team site , and i define the following permission for all users:-
    now users can add items and they can not view them ,, which is perfect :).
    But now i wanted to add a custom web part to my Create form which will hide certain fields if the user is not within specific group ,the web part looks as follow:-
    protected override void OnInit(EventArgs e)
    base.OnInit(e);
    InitializeControl();
    using (SPSite site = new SPSite(SPContext.Current.Site.Url))
    using (SPWeb web = site.OpenWeb())
    web.AllowUnsafeUpdates = true;
    SPGroup group = web.Groups["Intranet Visitors"];
    bool isUser = web.IsCurrentUserMemberOfGroup(group.ID);
    if (!isUser)
    SPList myList = web.Lists.TryGetList("Issue List");
    SPField titleField = myList.Fields.GetField("Category");
    titleField.Hidden = true;
    titleField.ShowInEditForm = false;
    titleField.ShowInNewForm = false;
    titleField.ShowInDisplayForm = false;
    titleField.Update();
    myList.Update();
    // web.AllowUnsafeUpdates = false;
    else
    SPList myList = web.Lists.TryGetList("Issue List");
    SPField titleField = myList.Fields.GetField("Title");
    titleField.Hidden = false;
    titleField.Update();
    myList.Update();
    // //web.AllowUnsafeUpdates = false;
    web.AllowUnsafeUpdates = false;
    then i deploy the web part and i add it to the Create form. but after doing so user are not able to create items and they will get the following error:-
    Sorry this site has not been shared with you
    so can anyone advice how to force my web part to run , without checking the users permissions or with minimal permssions ?

    in this case, use the elevated privileges to read/add/edit items with elevated privileges with below code.
    but make sure the page which you add this web part have at least read access to all user.
    SPSecurity.RunWithElevatedPrivileges(delegate()
    using (SPSite site = new SPSite(web.Site.ID))
    // implementation details omitted
    More: http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsecurity.runwithelevatedprivileges.aspx
    Bistesh
    Ok after adding :-
    SPSecurity.RunWithElevatedPrivileges(delegate()
    users with the following permissions can create items:-
    "AddListItems, ViewPages, ViewFormPages, Open";
    and they can not edit/read them, which is great. but i am facing a caching problem , because if user is inside the "Intranet visitor" he will be able to see Category field as mentioned in my code, but if i remove him from the "Intranet Visitor"
    he still can see the field,, although in the web part i specify not to display the Category column if the user is not inside the "Intranet visitor " group... here is my current code:-
    protected override void OnInit(EventArgs e)
    base.OnInit(e);
    InitializeControl();
    SPSecurity.RunWithElevatedPrivileges(delegate()
    using (SPSite site = new SPSite(SPContext.Current.Site.Url))
    using (SPWeb web = site.OpenWeb())
    web.AllowUnsafeUpdates = true;
    SPGroup group = web.Groups["Intranet Visitor"];
    bool isUser = web.IsCurrentUserMemberOfGroup(group.ID);
    if (!isUser)
    SPList myList = web.Lists.TryGetList("Risk & Issue Management");
    SPField titleField = myList.Fields.GetField("Category");
    titleField.Hidden = true;
    titleField.ShowInEditForm = false;
    titleField.ShowInNewForm = false;
    titleField.ShowInDisplayForm = false;
    titleField.Update();
    myList.Update();
    // web.AllowUnsafeUpdates = false;
    else
    SPList myList = web.Lists.TryGetList("Risk & Issue Management");
    SPField titleField = myList.Fields.GetField("Category");
    titleField.Hidden = false;
    titleField.ShowInEditForm = true;
    titleField.ShowInNewForm = true;
    titleField.ShowInDisplayForm = true;
    titleField.Update();
    myList.Update();
    web.AllowUnsafeUpdates = false;
    so can you advice please ? is this a caching problem, or once the user add at-least single item he will be able to see all columns ?

Maybe you are looking for