How to remove "Instructions" ftom the portal
Hi,
I do not need to see the instructions for service request anymore so I remove the text from "Form Instructions" from the service request offering with scsm console. I restarted the cachebuilder and the text is gone. However. I can still see the title "Instruction" and empty space bellow. Anu idea why. Please do not tell me I have to completely re-sync cache builder. Few weeks ago I had to to run Trunkate Table Last Modify just to get a new image. The problem was that after that all disabled enumeration got enabled again. I hope that is not the case now but better I ask.
Best Answers
-
Nicholas_Velich Cireson Consultant Ninja IT Monkey ✭✭✭✭Hi Veljko,
As a first step I'll state the obvious: make sure you don't have any blank spaces in the Instructions section.
You could play around with hiding via CSS/JavaScript, but it shouldn't be necessary. I've tested in v5.0 and v6.0 of the Portal, and the Instructions section should not appear if there is no content.
Proof!--
It looks like you are running an earlier version of the Portal. I don't recall a change to this behavior, but it's possible that was addressed in one of the newer versions. You will have to read through the Release Notes between your current version and 5.0 to see if this is the case.
Otherwise, this is best approached as a bug. I have noticed the same "failure to update images" in the Request Offering that you mentioned, so perhaps this is a similar issue. What I do in this case is update the Title of the Request Offering (adding the word "temp" or similar), save the Request Offering, and let the CacheBuilder do it's updates (allow 24 hours, or a simple restart). After you notice the title has changed in the Request Offering, you know it has been updated by the CacheBuilder-- at that point, check if the Instructions section is still present.
Thanks,
Nick7 -
merlenette_jones Member Advanced IT Monkey ✭✭✭Veljko_Sero said:
Mere. I understand that you have an article , but is it have to or "sometimes is necessary".? The problem is that after those steps are done all disabled enumeration got enabled again. Unfortunately, every day somebody leaves ,or sometimes change name. I understand from time to time that I may need to do it when I changed the service offering images. However, are you really saying I have to do this every day.
I understand it can be painful to complete these steps on a regular basis. I feel your pain. Yes for versions pre v5.0 this is a requirement. In regards to the enumerations those don't get reset unless you specifically do:run this against your ServiceManagement db:
- DELETE DisplayString WHERE ElementID IN (SELECT EnumerationID FROM Enumeration WHERE CreatedBy = 'c6745a66-5ccc-4fbc-b1d8-ab9797cdea2d');
- DELETE Enumeration WHERE CreatedBy = 'c6745a66-5ccc-4fbc-b1d8-ab9797cdea2d';
- TRUNCATE TABLE LastModified;
Then restart the cachebuilder.
The good news for you is that if you uprgade to v5.0 because I believe you are still on v4 you won't need to truncate as the cachebuilder service will automatically remove users that are deleted from SCSM.
Merle
6
Answers
Would you be able to provide a screen shot? I'm having a hard time visualizing what you are seeing.
Merle
Thank you for the screen shot. Changes to the service catalog happen every 24 hours unless you force a full resync of the cahcebuilder service. We have this documented in this KB - https://support.cireson.com/KnowledgeBase/View/1176#/
Merle
Perfect. I will rather wait. I will send the update tomorrow.
Thanks
Merle, can you please confirm your finding is correct. I deleted the instructions from service offering more than 24 hours ago but I can still see the same on the portal. By the way I bounced the server an hour ago but I can still see Instruction and white space bellow.
I believe that you would have to use something similar to
/* Hiding the Service Panel*/<br>#servicePanel <br>{<br> display:none;<br>}
but in your case you would need to reference the "isFirstPage()" function, you should look at @Vladimir_Budyak post https://community.cireson.com/discussion/845/relocate-the-on-behalf-of-control for ideas on how to do this. One thing to consider is that this is an all or nothing approach. Without making custom page forms for each page each Request Offering will show the same thing.
As a first step I'll state the obvious: make sure you don't have any blank spaces in the Instructions section.
You could play around with hiding via CSS/JavaScript, but it shouldn't be necessary. I've tested in v5.0 and v6.0 of the Portal, and the Instructions section should not appear if there is no content.
Proof!--
It looks like you are running an earlier version of the Portal. I don't recall a change to this behavior, but it's possible that was addressed in one of the newer versions. You will have to read through the Release Notes between your current version and 5.0 to see if this is the case.
Otherwise, this is best approached as a bug. I have noticed the same "failure to update images" in the Request Offering that you mentioned, so perhaps this is a similar issue. What I do in this case is update the Title of the Request Offering (adding the word "temp" or similar), save the Request Offering, and let the CacheBuilder do it's updates (allow 24 hours, or a simple restart). After you notice the title has changed in the Request Offering, you know it has been updated by the CacheBuilder-- at that point, check if the Instructions section is still present.
Thanks,
Nick
Thanks buddy. Long time no talk to you. I am still on v4.11 or something like that so it is possible that there was the issue with the version. Not sure.
I will need to test this version to ensure this is a bug. Do you happen to have a test lab you can upgrade and test as well in a later version?
Merle
Well as I said I cannot do it now. If this is the issue with the version it will be strange that nobody reported this before.
It is not the version issue. I did the same on the other service offering and it worked as it should be. Than on the service offering that did not work I enter just one letter, saved it and restarted the cache builder. Then deleted that character, saved it and restarted the service again. It worked. Thanks
Thanks for the update!
Here is one more related question. I deleted user from AD and Service Manager. Restarted the service, website and than server as well. If I check Configuration Items everything showing just fine. However, if I want to create the incident I can still see deleted users. The question is the same. Should it work or not? According to your article should work on startup. In this example Monkey 2 and 3 have been deleted.
I deleted those 2 test users at the different time.
We actually have a KB on this - https://support.cireson.com/KnowledgeBase/View/1142#/
How to Remove Users that have been Deleted from the ServiceManager Database
First stop the Cache Builder service and then run the following commands against the ServiceManagement DB:
Then restart the CacheBuilder service.
Thank you,
Merle
Mere. I understand that you have an article , but is it have to or "sometimes is necessary".? The problem is that after those steps are done all disabled enumeration got enabled again. Unfortunately, every day somebody leaves ,or sometimes change name. I understand from time to time that I may need to do it when I changed the service offering images. However, are you really saying I have to do this every day.
I understand it can be painful to complete these steps on a regular basis. I feel your pain. Yes for versions pre v5.0 this is a requirement. In regards to the enumerations those don't get reset unless you specifically do:
run this against your ServiceManagement db:
Then restart the cachebuilder.
The good news for you is that if you uprgade to v5.0 because I believe you are still on v4 you won't need to truncate as the cachebuilder service will automatically remove users that are deleted from SCSM.
Merle
okay, if this is result of the version I can accept that.
Thanks